tosyama / palan

The Palan programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Palan

build Codacy Badge Coverage Status
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).

About

The Palan programming language

License:MIT License


Languages

Language:C++ 91.5%Language:Yacc 5.4%Language:LLVM 1.0%Language:Makefile 0.9%Language:C 0.5%Language:Shell 0.4%Language:Vim Script 0.3%