Compiler of my programming language: Rogue
Use stack build tool in this directory:
stack build
stack exec roguec -- --file <file name> [--verbose]
- errors handling
- monadic parser and lexer support for errors reporting
- typechecker
- semantic rules
- global variables
- power operator
- make
scanf
return value, not write in variable (stdlib) - type inference
- lazy logical operations
- immutable variables (and passing to function by reference) support
- HOF
- pattern matching syntax sugar
- default arguments
- custom start function
- make
printf
andscanf
work for booleans - not allowed linebreaks in expressions
TODO: describe sources