/nicki-lang

An experimental hand-written language

Primary LanguageNimMIT LicenseMIT

nicki-lang

An experimental hand-written programming language

How to write your own programming language

Are you interested in how programming languages work? Then you should absolutely listen to Immo Landwerth writing a basic expression evaluator in less than two hours.

Written in nim

nicki-lang is implemented in nim. nim still has a few flaws (mainly not supporting cyclic symbol dependencies as of version 2.0). For me it still was the most convenient language to write a compact, fast and cross-platform interpreter and compiler.

How to run

Do you have nim installed? Then use

nim r src/nii.nim

to start the interpreter (REPL). The compiler which should compile nicki-lang to C is not yet functional.