Created
March 11, 2011 23:36
-
-
Save dwaite/866813 to your computer and use it in GitHub Desktop.
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
$ bundle exec rspec spec -fd | |
Callisto::Lexer | |
#tokenize | |
tokenizes a blank message to an empty array | |
tokenizes 'key' into a single identifier | |
tokenizes 'foo bar' into two identifiers | |
tokenizes hex numbers | |
tokenizes integers | |
tokenizes numbers starting with a decimal point | |
tokenizes numbers in scientific notation | |
tokenizes a symbol | |
tokenizes a symbol sequence | |
tokenizes '1 + 2' | |
tokenizes '1 + 2 * 3 | |
tokenizes '1+2*3' (without whitespace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment