You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 23, 2018. It is now read-only.
These are languages that people use for real projects, today. These require the most work but also give the biggest payoff, since people will use them in their daily work.
So far we're 1/5 here, with BiwaScheme. I don't think we should count Javathcript (or any non-standard Lisp variant) as separate from Scheme here.
Interesting options include Python, Lua, Ruby, Haskell and Prolog.
Python and Lua may be doable through Emscripten, but that still leaves implementing or compiling their standard libraries, which is no small task. Python also has Skulpt.
Ruby has JSRuby and HotRuby, though at this point it is unclear whether they are usable.
Haskell has jshakell, which appears to be a library port rather than a compiler/interpreter, and haskellinjavascript, which seems incomplete and abandoned. Emscripten might be an option.
Prolog is fairly usable without a standard library and even without I/O and is very REPL-friendly. If the IOCTL implementation is decent, this might be easy to add. All we would need is to add a way to differentiate fact and query modes. I think simply prefacing all queries with a question mark or something similar might be good enough. One disadvantage is that it might be more appropriate in the nostalgia category.
Common Lisp is yet another possibility, if JCLS ends up being useful. There are quite a few JS compilers/interpreters for various dialects of Lisp, but they may be superfluous given BiwaScheme:
I have narrowed down the lisp resources into what could be usable, this leaves us with: EdgeLisp: A bit complicated. Dmitry Nizhegorodov's Lisp System: lacks hygiene macros.
Since both of them compiles down to JS, input will be an issue.
If we went with EdgeLisp, I wouldn't want to miss with the library since its under constant enhancement.
These are languages that people use for real projects, today. These require the most work but also give the biggest payoff, since people will use them in their daily work.
So far we're 1/5 here, with BiwaScheme. I don't think we should count Javathcript (or any non-standard Lisp variant) as separate from Scheme here.
Interesting options include Python, Lua, Ruby, Haskell and Prolog.
Python and Lua may be doable through Emscripten, but that still leaves implementing or compiling their standard libraries, which is no small task. Python also has Skulpt.
Ruby has JSRuby and HotRuby, though at this point it is unclear whether they are usable.
Haskell has jshakell, which appears to be a library port rather than a compiler/interpreter, and haskellinjavascript, which seems incomplete and abandoned. Emscripten might be an option.
Prolog is fairly usable without a standard library and even without I/O and is very REPL-friendly. If the IOCTL implementation is decent, this might be easy to add. All we would need is to add a way to differentiate fact and query modes. I think simply prefacing all queries with a question mark or something similar might be good enough. One disadvantage is that it might be more appropriate in the nostalgia category.
Common Lisp is yet another possibility, if JCLS ends up being useful. There are quite a few JS compilers/interpreters for various dialects of Lisp, but they may be superfluous given BiwaScheme:
The text was updated successfully, but these errors were encountered: