Skip to content

Commit

Permalink
added README
Browse files Browse the repository at this point in the history
  • Loading branch information
tommorris committed Aug 19, 2010
1 parent 87e9dd7 commit 4dc7eff
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
@@ -0,0 +1,20 @@
Scribble
========

Scribble is desgined to be a family of languages designed such that you can scribble them on an iPhone, iPad or iPod touch device without having to switch into the modal character insertion panel - i.e. you can write more of the language using just the characters on the main keyboard of the iOS device. Scribble languages need to meet these criteria:

1. Easy to write on an iOS touchscreen device without a physical keyboard.
2. Provide a REPL.
3. Compile down to an existing language.

The use case for Scribble languages is simple: to use as a calculator, to simply try out an algorithm and for other rapid prototyping needs on a handheld device.

This particular implementation of Scribble runs on top of Ruby on the Java Virtual Machine. It uses the JRuby JSR 223 implementation to wrap around a REPL.

It is currently very primitive but offers the following syntactical changes from Ruby:

* gt, lt, gte, lte, eq - these are substituted for operators
* variable allocation using !
* one-place lambda creation using ,,

This will be documented further, but in the spirit of [Why Day](http://whyday.org/) I wanted to put it out there quickly.

0 comments on commit 4dc7eff

Please sign in to comment.