A simple Javascript implementation of Lisp-like cons lists, as faithful as I could think. #complete
Go to file
Elf M. Sternberg 54da8c6b65 Changed the list structure to not respect cons(nil, nil) == nil.
I think this is a mistake, but at the moment I'm not clever enough to
figure out how to properly acknowledge an end-of-list without a special
sentinel, which I'm trying to avoid.

TODO: Revisit this.

Modified Makefile to produce JUnit-compatible error messages.

Style (coffee-lint cleanup)
2015-06-22 17:03:21 -07:00
bin Clean up and initial commit. 2015-05-13 16:20:16 -07:00
src Changed the list structure to not respect cons(nil, nil) == nil. 2015-06-22 17:03:21 -07:00
test Changed the list structure to not respect cons(nil, nil) == nil. 2015-06-22 17:03:21 -07:00
.gitignore Changed the list structure to not respect cons(nil, nil) == nil. 2015-06-22 17:03:21 -07:00
LICENSE Merge branch 'master' of github.com:elfsternberg/cons-lists 2015-05-13 16:22:58 -07:00
Makefile Changed the list structure to not respect cons(nil, nil) == nil. 2015-06-22 17:03:21 -07:00
README.md Clean up and initial commit. 2015-05-13 16:20:16 -07:00
package.json Fixed with the linter, and updated the package.json file to reflect that. You won't believe how easy it was! 2015-05-22 22:50:42 -07:00

README.md

A simple implementation of Lisp-like cons() lists, using vectors

Purpose

I kinda got tired of my broken list implementations that I was working with in each and every variant of Lisp I wrote while working my way through List In Small Pieces, so I decided to break it out into its own managed repo.

Copyright (c) 2015 Elf M. Sternberg

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 NONINFRINGEMENT. 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.