Skip to content

pearl-lang/pearl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pearl Language

image

Getting started with pearl language

Manage pearl versions with gece

Let's use gece to compile and run pearl programs easily, manage dependencies and pearl versions.

Build from source

Requirements

  • Git
  • CMake 3.15+
  • A C/C++ compiler (GCC, Clang, MSVC, etc.)
  • Make (for Linux/macOS) or Ninja (for Windows)
  • Visual Studio 18 (for Windows)

Get the source.

git clone "https://github.com/pearl-lang/pearl.git"
cd "pearl"

Let's compile the compiler

chmod u+x "scripts/cmake.sh"
./scripts/cmake.sh . && cd "build"
make

or if you want to make it manually like a man.

For Linux systems

[ ! -d "build" ] && mkdir "build"
cd "build"
cmake ..
make

For Windows

if (-Not (Test-Path "build")) { New-Item -ItemType Directory -Name "build" }
Set-Location "build"
& "C:\Program Files\Microsoft Visual Studio\18\Community\Common7\Tools\Launch-VsDevShell.ps1"
cmake -G "Ninja" ..
ninja

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

MIT

About

pearl language - it's easy to create eBPF programs with pearl

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published