Impy
git clone http://jummit.com/repos/impy/impy.git- LICENSES/CC0-1.0.txt
- LICENSES/GPL-3.0-or-later.txt
- Makefile
- impy/ast/ast.ha
- impy/eval/+test.ha
- impy/eval/eval.ha
- impy/lex/+test.ha
- impy/lex/lex.ha
- impy/lex/token.ha
- impy/parse/+test.ha
Small implementation of the Imp language by Jamie Brandon.
This is in no way useful or feature complete, I made it because I found the language concept fascinating and wanted to give implementing it a try.
Nonetheless, the goal of this project is a standalone package which could be embedded in projects which could make use of a little query language.
Example:
let rooms = 1 | 2 in
let names = 1 x "house" | 2 x "street" in
let tiles = 1 x "111000" | 2 x "000111" in
rooms (room ->
when (names room "street") then
tiles room)
make
make install
PREFIX=~/.local make install
Running the tests:
make test
Run reuse lint to check REUSE compliance.
License
The code in this project is licensed under GPL-3.0-or-later. Assets like this readme are licensed under CC0.