WARNING: This language is work in progress and will be for a long time.
The first goal of this project is to create language that is self-hosted, with not to much noise around this task. For this reason language will be as simple as is reasonable for me.
// Returns 42 from the program
fun exit {
#syscall(60, 42)
}
fun main {
exit()
}
- Compiled
- Structured
- Turing Complete
- Self-hosted
- pl0.cc: C++ implementation of the language, used for creating language before self-hosted compiler
- test.cc: Simple test runner
- Current name refers to fact, that this will be my first self hosted programming language
- Test expected format is inspired by Porth