Skip to content

Latest commit

 

History

History
44 lines (25 loc) · 1.72 KB

README.md

File metadata and controls

44 lines (25 loc) · 1.72 KB

The Stańczyk Programming Language

CI Commits License

Jan Matejko's Stańczyk

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

This repository contains the source code for Stańczyk. You can find the compiler, standard library and documentation.

What is Stańczyk?

Stańczyk is a concatenative Programming Language that compiles to Assembly and then to an executable using the GCC back-end. It writes in Reverse Polish Notation and fits into the stack-oriented programming paradigm.

Installation

  • TODO: Add installation

Dependencies

Make sure you have the following dependencies in your system before building Stańczyk:

  • git
  • gcc (build the source and also used to build the Assembly output)

My first program

A simple Hello, Stańczyk program could be:

using "io"

"Hello, Stańczyk\n" write

You can find more examples on demos

Unit tests

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