- How does it feel to use?
- Can I express my thoughts in new ways?
- What problems does it solve?
- What are the novelities (potential innovations)?
PushToStack
Whitespace
Number
Name
NewLine
Comment
Character | State | State change |
---|---|---|
<start> | Ready | |
"#" | Ready | Read PushToStack { # } |
" " | Reading whitespace | |
"1" | Reading number | Read Whitespace { " " } |
"0" | Reading number | |
" " | Reading whitespace | Read number { 10 } |
"%" | Reading comment | Read Whitespace { " " } |
Character | State | State change |
---|---|---|
"%" | Reading comment | Read Whitespace { " " } |
" " | Reading comment | |
"p" | Reading comment | |
"u" | Reading comment | |
"s" | Reading comment | |
"h" | Reading comment | |
"\n" | Ready | Read Comment { "% push" } |
Token |
---|
PushToStack |
Number { value: 10 } |
Comment { value: "push" } |
Newline { value: "\n" } |
Name { value: "print" } |
Newline { value: "\n" } |
PushToStack
Number
FunctionCall
- Runtime
- Evaluate one line at a time
- Usually run-until-error
- Usually slower
- Errors (mostly) exist in data or compiler, not code
- Consider entire program
- Usually faster, due to optimizations
On hover
Autocomplete
https://github.com/eeue56/tegan-lang