Christian Weilbach
Christian Weilbach
Ok. The reader seems to work basically, but symbols get corrupted after a short delay. Just compose simple arithmetic expressions like (+ (\* 4 10) 2) or (cons 5 (cdr...
I meant the driver initializes the user namespace before cljc.core: int MAIN_FUNCTION_NAME(int argc, char _argv[]) { environment_t *env = NULL; cljc_init (); BEGIN_MAIN_CODE; init_sample_DOT_metacircular (); init_cljc_DOT_core (); return integer_get (FUNCALL1...
I have had a look at https://github.com/kanaka/clojurescript and I suspect I have to port compiler.cljs (and analyzer.cljs which looks straightforward) to emit the cljc runtime primitives (eval). For most primitive...
I need your help. I have ported and could get along with gdb and trial and error so far, but I don't understand why initialization order is important and how...
Oh, I just saw your comment after posting. "Symbols and keywords: Why didn't you use intern_symbol() and intern_keyword()? They make symbols and keywords unique, so they can be compared via...
Thanks! I have compiled cljc.string from core.cljc separately with leiningen as well and then build this c-file and linked it in. Maybe that helped, I am not sure. I have...
I have read about https://github.com/Bronsa/CinC/ on planet.clojure and then on the clojure google list. Instead of getting the REPL working first I probably should approach the clojure compiler hackers there,...
https://groups.google.com/forum/#!topic/clojure/cC1yC9zrS1s
I have to take more time to better understand CinC and continue studying SICP. Are you interested in merging the metacircular evaluator as an example, the reader and (some of)...
The metacircular evalutor is just a sample program in ClojureC. I just wanted to use it to drive a potential compiler. I don't want to implement a Clojure REPL in...