Skip to content

Instantly share code, notes, and snippets.

View wombleton's full-sized avatar

Rowan Crawford wombleton

View GitHub Profile
var express = require('express'),
app = express();
app.configure(function() {
app.use(express.bodyParser());
});
/**
*/
app.get('/', function (req, res) {
@wombleton
wombleton / errors.txt
Created February 28, 2012 23:19 — forked from jimsynz/errors.txt
grammar
1.9.3-p0 :002 > Crimson::Parser.parse('nil')
Exception: Parse error: Expected one of -, 0, nil at line 1, column 4 (byte 4) after .
from /Users/jnh/Dev/Toys/CrimsonScript/lib/crimson/parser.rb:12:in `parse'
from (irb):2
from /Users/jnh/.rvm/rubies/ruby-1.9.3-p0/bin/irb:16:in `<main>'
1.9.3-p0 :003 > Crimson::Parser.parse('0')
Exception: Parse error: Expected one of -, 0, nil at line 1, column 2 (byte 2) after .
from /Users/jnh/Dev/Toys/CrimsonScript/lib/crimson/parser.rb:12:in `parse'
from (irb):3
from /Users/jnh/.rvm/rubies/ruby-1.9.3-p0/bin/irb:16:in `<main>'