yurapyon / mini

16bit Forth wahoo
MIT License
0 stars 0 forks source link

colorForth #34

Closed yurapyon closed 1 month ago

yurapyon commented 1 month ago

PR (#35)

colorForth is very smart problems: editor support

goals: make vm easier to implement remove cruft from the standard make the language simpler

yurapyon commented 1 month ago

threading will create a more clear separation between machine code and calling forth words, which will make the language easier to use

simplifying the instruction set and VM architecture will make it easier to port

yurapyon commented 1 month ago

address register, @+, !+

circular stacks

yurapyon commented 1 month ago

remove the concept of hiding words, its not very often that i override words using a new word with the same name. this will also simplify terminators because all they do now is record whether a word is immediate or not

yurapyon commented 1 month ago

automatic tailcalls:

yurapyon commented 1 month ago

rename 'here' to 'h' ? then 'here' is 'h @'

yurapyon commented 1 month ago

remove u/mod or /mod or whatever, just go off whatever the AVR instruction set gives you

yurapyon commented 1 month ago

closing in favor of this PR https://github.com/yurapyon/mini/pull/35