Re: Data Structure Interpretation techniques

2019-08-22 Thread mratsim
Also my research code on writing a symbolic evaluator + compiler for computation graphs in Nim macros (extensible for JIT compilation): * [https://github.com/numforge/laser/tree/master/laser/lux_compiler](https://github.com/numforge/laser/tree/master/laser/lux_compiler) And the experiments

Re: Data Structure Interpretation techniques

2019-08-22 Thread Araq
Byte code interpreting is done in the Nim compiler itself: [https://github.com/nim-lang/Nim/blob/devel/compiler/vmdef.nim#L25](https://github.com/nim-lang/Nim/blob/devel/compiler/vmdef.nim#L25) [https://github.com/nim-lang/Nim/blob/devel/compiler/vm.nim](https://github.com/nim-lang/Nim/blob/deve

Re: Data Structure Interpretation techniques

2019-08-22 Thread Araq
Byte code interpreting is done in the Nim compiler itself: [https://github.com/nim-lang/Nim/blob/devel/compiler/vmdef.nim#L25](https://github.com/nim-lang/Nim/blob/devel/compiler/vmdef.nim#L25) [https://github.com/nim-lang/Nim/blob/devel/compiler/vm.nim](https://github.com/nim-lang/Nim/blob/deve

Data Structure Interpretation techniques

2019-08-21 Thread dponyatov
Is anybody use Data Structure Interpretation techniques in Nim? I'd like to see source code samples for things like eval/apply, bytecode interpreting, objects message passing engines, or maybe some more complex methods like interpreting object graphs, or implementing DataFlow a