Palan
Palan is aiming simpler, safer and more enjoyable programming language alternative C.
Current palan is very draft.
Quick Start
Environment
- Ubuntu 18.04.1 LTS or later
- g++ gcc 7.3.0 or later
- GNU Make
- curl
- git
Build Palan Compiler
$ git clone --recursive https://github.com/tosyama/palan.git
$ cd palan
$ sudo make package
$ make
Note: make package
installs Boost, Bison, Flex and Catch. You might need to install libncursesw5-dev.
Write Code
$ vi helloworld.pa
ccall printf(...);
"Hello World!\n" -> printf();
Build and Run
$ bin/pac helloworld.pa -o a.out
$ ./a.out
Hello World!
Reference
See Palan Language Reference.
See qiita for Japanese edition Palan 0.3 Language Reference(JP).