]> Witch of Git - ess/log
ess
7 years agoAdd documentation for the parser module and main parser functions
Caleb Jones [Fri, 30 Dec 2016 22:24:19 +0000 (17:24 -0500)]
Add documentation for the parser module and main parser functions

7 years agoDocument ParseError
Caleb Jones [Fri, 30 Dec 2016 21:33:38 +0000 (16:33 -0500)]
Document ParseError

7 years agoDocument ParseResult
Caleb Jones [Fri, 30 Dec 2016 21:17:08 +0000 (16:17 -0500)]
Document ParseResult

7 years agoMerge branch 'feature/modules' into version/0.4
Caleb Jones [Fri, 30 Dec 2016 19:31:11 +0000 (14:31 -0500)]
Merge branch 'feature/modules' into version/0.4

7 years agoSplit the project into multiple modules
Caleb Jones [Fri, 30 Dec 2016 19:30:23 +0000 (14:30 -0500)]
Split the project into multiple modules

7 years agoAdd Travis CI and badges to the README
Caleb Jones [Fri, 30 Dec 2016 19:14:48 +0000 (14:14 -0500)]
Add Travis CI and badges to the README

7 years agoRename the project to Ess and add Cargo metadata
Caleb Jones [Fri, 30 Dec 2016 00:15:42 +0000 (19:15 -0500)]
Rename the project to Ess and add Cargo metadata

7 years agoMake it possible to take ownership of the strings in a Sexp
Caleb Jones [Wed, 28 Dec 2016 19:10:55 +0000 (14:10 -0500)]
Make it possible to take ownership of the strings in a Sexp

This lets you extend the lifetime, which is useful for things like
producing error types that contain an Sexp and so on.

7 years agoMerge pull request #1 from porglezomp/locations
Caleb Jones [Sun, 25 Dec 2016 04:45:57 +0000 (23:45 -0500)]
Merge pull request #1 from porglezomp/locations

Migrate away from nom for error reporting and source locations

7 years agoBump version number
Caleb Jones [Sun, 25 Dec 2016 04:34:20 +0000 (23:34 -0500)]
Bump version number

Remove debug print

7 years agoChange test case formatting
Caleb Jones [Sun, 25 Dec 2016 04:31:04 +0000 (23:31 -0500)]
Change test case formatting

7 years agoAdd top level parsing functions
Caleb Jones [Sun, 25 Dec 2016 03:58:50 +0000 (22:58 -0500)]
Add top level parsing functions

7 years agoParse lists
Caleb Jones [Sun, 25 Dec 2016 03:42:03 +0000 (22:42 -0500)]
Parse lists

7 years agoRefactor consuming whitespace into a macro
Caleb Jones [Sun, 25 Dec 2016 02:42:08 +0000 (21:42 -0500)]
Refactor consuming whitespace into a macro

7 years agoParse general s-expressions
Caleb Jones [Sun, 25 Dec 2016 02:33:47 +0000 (21:33 -0500)]
Parse general s-expressions

7 years agoParse character literals
Caleb Jones [Sun, 25 Dec 2016 02:16:38 +0000 (21:16 -0500)]
Parse character literals

7 years agoParse strings
Caleb Jones [Sun, 25 Dec 2016 02:06:10 +0000 (21:06 -0500)]
Parse strings

7 years agoAdd parsing for symbols
Caleb Jones [Sun, 25 Dec 2016 00:01:27 +0000 (19:01 -0500)]
Add parsing for symbols

7 years agoBegin a reimplementation that tracks source locations
Caleb Jones [Sat, 24 Dec 2016 20:33:14 +0000 (15:33 -0500)]
Begin a reimplementation that tracks source locations

8 years agoImprove the number parser
Caleb Jones [Thu, 22 Dec 2016 06:43:56 +0000 (01:43 -0500)]
Improve the number parser

Instead of redoing all the number extraction ourselves, we now reuse the
number parsing code built into Rust. We simply recognize things that
look like numbers, and pass the string into the appropriate number
parsing function.

8 years agoRemove the indirection introduced by separating Atom from Sexp
Caleb Jones [Thu, 22 Dec 2016 06:07:03 +0000 (01:07 -0500)]
Remove the indirection introduced by separating Atom from Sexp

8 years agoChange parse to parse multiple expressions and add parse_one
Caleb Jones [Tue, 20 Dec 2016 22:35:59 +0000 (17:35 -0500)]
Change parse to parse multiple expressions and add parse_one

8 years agoChange parse to return a ParseError instead of ()
Caleb Jones [Tue, 20 Dec 2016 22:10:25 +0000 (17:10 -0500)]
Change parse to return a ParseError instead of ()

8 years agoAdd more tests
Caleb Jones [Wed, 14 Dec 2016 07:24:04 +0000 (02:24 -0500)]
Add more tests

8 years agoAdd parsing for characters
Caleb Jones [Wed, 14 Dec 2016 07:06:23 +0000 (02:06 -0500)]
Add parsing for characters

8 years agoAdd tests for parsing number and symbol
Caleb Jones [Wed, 14 Dec 2016 06:56:48 +0000 (01:56 -0500)]
Add tests for parsing number and symbol

Fix a bug in number parsing where it would accept invalid numbers like
123q.

8 years agoAdd an extremely basic s-expression parser using nom
Caleb Jones [Wed, 14 Dec 2016 06:38:53 +0000 (01:38 -0500)]
Add an extremely basic s-expression parser using nom