Skip to content

Stack-based, concatenative programming language

License

Notifications You must be signed in to change notification settings

nawetimebomb/stanczyk

Repository files navigation

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.

About

Stack-based, concatenative programming language

Resources

License

Stars

Watchers

Forks

Languages