Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/amcgregor/es6-toy-lisp

Terrible plastic surgery upon an interesting experiment implementing Lisp within browser-safe JavaScript/ES6.
https://github.com/amcgregor/es6-toy-lisp

es6 interpreter javascript lisp

Last synced: about 1 month ago
JSON representation

Terrible plastic surgery upon an interesting experiment implementing Lisp within browser-safe JavaScript/ES6.

Awesome Lists containing this project

README

        

# [lisp.webcore.io](http://lisp.webcore.io/)

A "hyper-minified" (but somehow, still readable and maintainable) variant of [Enichan's](https://gist.github.com/Enichan) ["interpretoy"](https://gist.github.com/Enichan/4a9fa87aef6405e13e1c072baa117beb) experimental JavaScript Lisp interpreter, initially reduced to 85% of its original size. I have a [personal](https://gist.github.com/amcgregor/71c62ea2984839a9063232ed2c0adf27) [vendetta](https://github.com/amcgregor/paste#readme) against semicolons in JS and much of HTML, and do not balk in the face of unpopular practices like assuming element attachment to the `window` object (elevation to "global variables") by ID.

This will be progressively extended for improved and more semantic presentation, while still being kept as minimal as possible.

Please reference the code (which is commented!) for details and supported features / capabilities.

### The MIT License

Copyright © 2021-2022 Eniko Fox (Emma Maassen), Alice Bevan-McGregor, and contributors.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.