Bootstrap Scheme V0.2 (Booleans) In Ada

January 13th, 2010

Booleans were very trivial to add after laying down the foundation with v0.1. The only real difference between booleans and integers, as Peter notes, is that #t and #f are singletons and only one instance of each is ever created. With integers, a new object is created everytime we need one. What took the longest this time around was fixing the bugs that I discovered in v0.1 where spaces weren't being properly ignored and negative numbers would throw exceptions. Apparently, I'm a sloppy coder. All fixed now though, and the new v0.2 branch is on GitHub.

$ ./scheme 
Welcome to Bootstrap Scheme -- Ada version.
> #t
#t
> #f
#f
> ^C

« Previous Entry

Next Entry »

View Comments


Recent Entries


TryParenScript.com

On July 23rd, 2010


In response to "A JavaScript Function Guard"

On July 19th, 2010


My Notes from John Resig's "jQuery Hack Day" Talk

On July 5th, 2010


Announcing Pocco

On June 29th, 2010


Yet Another Lisp

On June 25th, 2010


Recent Happenings: All Play and No Work

On June 21st, 2010


Arguments.callee considered extraneous

On June 2nd, 2010


Javascript, "bind", and "this"

On May 20th, 2010


Class-Based Views and Django

On May 19th, 2010


Introducing Zoolander

On May 2nd, 2010


Creative Commons License

Fork me on GitHub