Lartu / polaris

Stack-based, pure and minimal programming language with strings as its only data type.

Home Page:https://www.lartu.net/languages/polaris/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



Polaris is a stack-based, concatenative, interpreted programming language with strings as its only data type. It has been designed to be small in size and minimal in language features. Polaris was conceived to run under Unix systems. It has been written in C++98, so it can probably be compiled with any C++ compiler out there.

/* This is a little Polaris example */

("Tell me your name: " print input >name) >askName
("Hello there, " @name join "\n" join print) >sayHello

%askName %sayHello

Building Polaris

To build Polaris, clone this repository and run make. You can install it using make install.

Documentation

The Polaris documentation can be here.

Some code examples can be found in the Examples directory.

License

The Polaris Interpreter is distributed under the Apache 2.0 License.

About

Stack-based, pure and minimal programming language with strings as its only data type.

https://www.lartu.net/languages/polaris/


Languages

Language:C++ 98.5%Language:Makefile 1.5%