Tiny stack-based language implementation (61 sloc, Python)
1–5 of 5 posts
Re: Tiny stack-based language implementation (61 sloc, Python)
#2 [ dup * ] is square
[ dup 2 Re: Tiny stack-based language implementation (61 sloc, Python)
#3The only examples are in the source. [ dup * ] is square [ dup 2
Still, the idea of Fortik is to encourage students to learn how simple interpreters work and to extend the language.
Re: Tiny stack-based language implementation (61 sloc, Python)
#4The only examples are in the source. [ dup * ] is square [ dup 2
If you are familiar with Forth, Postscript, or Joy you should have no problems with programming in Fortik :) Still, the idea of Fortik is to encourage students to learn how simple interpreters work and to extend the language.
Re: Tiny stack-based language implementation (61 sloc, Python)
#5Earlier quoted context omitted.
If you are familiar with Forth, Postscript, or Joy you should have no problems with programming in Fortik :) Still, the idea of Fortik is to encourage students to learn how simple interpreters work and to extend the language.
Is the first assignment to reverse-engineer the language spec from the interpreter?