- Install CLI
dotnet
- Restore Project
dotnet restore
dotnet build
dotnet test
also to run the test with watch
dotnet watch --project HerbertLang.Tests test
-> Solution
- HerbertLang (There is a reference set to TEST dotnet add ... reference)
- HerbertLang.Tests
LEXER -> tokens
PARSER -> ast
INTERPRETER -> (code/string | code/steps)
SOLVER (code, world) -> solution
- simple code
sss
- function no args
#f:sss
f
#f():sss
f()
- functions with args
#f(A):A
f(sss)
f(B):aBa
f(sss)