Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Matthew Carter <m@ahungry.com> |
|---|---|
| Newsgroups | comp.misc, comp.lang.lisp |
| Subject | Re: kanaka/miniMAL: Lisp in <1kb javascript |
| Date | 2015-02-27 00:48 -0500 |
| Organization | Ahungry (http://ahungry.com) |
| Message-ID | <87ioenrjl3.fsf@ahungry.com> (permalink) |
| References | <20150226114802.fe197ab3.rsw@therandymon.com> <87zj80epey.fsf@elektro.pacujo.net> |
Cross-posted to 2 groups.
Marko Rauhamaa <marko@pacujo.net> writes:
> RS Wood <rsw@therandymon.com>:
>
>> A Clojure inspired Lisp implemented in less than 1024 bytes of
>> JavaScript.
>>
>> [...]
>> Requires Node.js.
>
> Here's a complete Scheme implementation in mere 193 bytes of C:
>
> ========================================================================
> #include <libguile.h>
> static void inner_main (void *closure, int argc, char **argv)
> {scm_shell (argc, argv);}
> int main (int argc,char **argv)
> {scm_boot_guile(argc,argv,inner_main,0);return 0;}
> ========================================================================
>
> Requires libguile.so.
>
>
> Marko
>
> PS See <URL: http://www.gnu.org/software/guile/manual/html_node/A-Sample-Gui
> le-Main-Program.html#A-Sample-Guile-Main-Program>
I couldn't imagine writing code in the miniMAL language linked in the
thread start - so many double quotes and square brackets.
Nice link for libguile.
--
Matthew Carter (m@ahungry.com)
http://ahungry.com
Back to comp.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
kanaka/miniMAL: Lisp in <1kb javascript RS Wood <rsw@therandymon.com> - 2015-02-26 11:48 +0000
Re: kanaka/miniMAL: Lisp in <1kb javascript Marko Rauhamaa <marko@pacujo.net> - 2015-02-26 16:08 +0200
Re: kanaka/miniMAL: Lisp in <1kb javascript Matthew Carter <m@ahungry.com> - 2015-02-27 00:48 -0500
Re: kanaka/miniMAL: Lisp in <1kb javascript RS Wood <rsw@therandymon.com> - 2015-02-27 13:23 +0000
csiph-web