Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |