lucabol / Forth.Net

Forth for .Net.
MIT License
7 stars 1 forks source link

Add a way to specify if the code generated by a word should be inlined or not #8

Open lucabol opened 2 years ago

lucabol commented 2 years ago

One could think of something similar to immediate.

: test 1 1 + ; expand

or perhaps the default should be the other way:

: test 1 1 + ; inline

Right now everything is inlined. A nested function is generated if the tick(```) word is called.