levovix0 5ae72224d8 0.2 | 11 meses atrás | |
---|---|---|
examples | 11 meses atrás | |
lib | 11 meses atrás | |
src | 11 meses atrás | |
.gitignore | 1 ano atrás | |
README.md | 11 meses atrás | |
main.yase | 11 meses atrás | |
yase.nimble | 11 meses atrás |
Install Nim compiler first.
git clone https://github.com/levovix0/yase
cd yase
nimble -d:release build
./yase
type h
for help
nodes (tetrons) in yase declared as
type Node = ref object
kind: Node
childs: seq[Node]
params: Table[Node, Node]
data: string
module {.cursor.}: Module
when in mutator tetrons declared as hierarchy of types, based on (roughly)
type
Flags = uint64
Tetron = ref object of RootObj
links: Table[Tetron, Flags]
(types based on Tetron may have additional data fields)
for now, yase is console program
basic yase interpretator writed in Nim, instead of C++