Jakub T. Jankiewicz
Jakub T. Jankiewicz
I just checked the file:// protocol and it works without issues. Just open demo.html in the browser.
But the option will also be useful. I'll update the demo to be able to turn off BroadcastChannel for testing.
I've updated the demo to allow to turn off the localStorage and fix the parsing of `file://` protocol because it was giving a warning from the proxy iframe.
It works in Chicken Scheme.
I'm not able to test your example because my OS doesn't support those characters. When I copy-paste the family in the terminal I've got 4 heads. But my example for...
In JavaScript `Array.from("π©")` or `[..."π©"]` returns one character array. In Python, this emoji `ππ»` are two characters (two emoji). The same in JavaScript `Array.from("ππ»")` returns two characters but `"ππ»".length` returns...
The problem is in the way lists are constructed in the parser. I've based my own parser on BiwaScheme code and I have the same issue jcubic/lips#198. I would prefer...
You can check how I've fixed the issue. I've just counted the parenthesis while parsing. but I also have a single function that returns whole top-level S-Expression: ```javascript const parser...
Another example that should fail to evaluate is this: ```scheme (let ((x '(1 2 . 3))) (apply + x)) ``` this evaluates to 3.
Another example from the book: ```lisp (defmacro propmacro (propname) `(defmacro ,propname (obj) `(get ,obj ',',propname))) ``` Biwascheme should also handle `',',` maybe there are other quirks to quasiquote.