[stack] Semi-compilation
"Slobodan Blazeski" <[email protected]> Sun, 20 Jun 2010 10:08:43 -0000
| Newsgroups | gmane.comp.lang.concatenative |
|---|---|
| Message-ID | <[email protected]> |
I've finished initial version of the interpreter (*). Currently my evaluator works using switch statements over the deque(**) of boxes and I want to split this deque into one deque holding data and another deque holding pointer to functions: For 2 3 + Currently : Box<primitive,Plus>,Box<float,*3>,Box<float,*2>, Planned: Data Box<float,*3>,Box<float,*2> Code Box<*PlusFloat>,Box<*PushFloat>,Box<*PushFloat>, What do you think about this? Or could you suggest a better approach Slobodan (*) http://www.bitbucket.org/bobiblazeski/lateral/ (**) Future of computation