o
odinpkg.dev
packages / library / stanczyk

stanczyk

4abaaa9library

Stack-based, concatenative programming language

MIT · updated 9 months ago

Jan Matejko's Stańczyk
A Concatenative Type Safe Stack-Based Programming Language

GitHub commit activity GitHub Actions Workflow Status GitHub License

The Stańczyk Programming Language

NOTE: This is a work in progress, things can change without any notice. Use with discretion.

Stańczyk is a general-purpose stack-based programming language insired in Forth that prefer words over symbols and strive on trying to be easy to read by anyone. It uses Reverse Polish Notation, which also inspired the name of this language (plus my admiration to Jan Matejko's art), because it makes it easier to parse for the compiler and for the Human eye without the need of extra parenthesis. The language compiles to Assembly and it is trying to be compatible with all the major platforms. The backend compiler supported for now is fasm, although it is planned to support multiple backends. At the moment of this writing, the compiler is written in Odin.

Website: https://stanczyk-lang.org

proc main
  "Hello, Stańczyk" print
;

Documentation

Instructions to download and compile Stańczyk.

Learn how to use and make programs in Stańczyk.

Dependencies

The following is required to compile and use Stańczyk:

  • Odin - To compile the compiler
  • gcc - To compile the output of this compiler into a binary

Unit tests

After you get the Stańczyk compiler executable, you can run ./test.sh.