b6c2a08c8f
FEATURE: Better parsing errors.
...
More specific reports about what is wrong when we know the correct
next tokens to expect.
2019-01-22 20:59:25 -06:00
eaa3e84179
FIX: Treat is as a regular binary operator
...
do syntax checks post parse. Also to avoid collisions with
keywords require quoting the types.
2019-01-19 10:49:33 -06:00
d40e89fea9
FEATURE: Boolean Operators.
2019-01-17 19:20:01 -06:00
83a641e740
FEATURE: Add regular expression comparison operators.
2019-01-07 19:38:25 -06:00
59343d71d5
FEATURE: add a conatins operator
...
Adds the `in` operator that checks for fields in tuples and
elements in a list.
Fixes : #12
2019-01-03 11:42:11 -06:00
9ec73868b5
FEATURE: evaluate dot selectors as a binary operator now.
...
Also fixed a precedence bug in our parser.
2019-01-02 16:57:55 -06:00
a028960a43
REFACTOR/FEATURE: Treat selectors as an operator.
2018-12-31 17:31:34 -06:00
fb292b4684
REFACTOR: Unify the Binary Operator AST data structures.
2018-12-31 17:24:07 -06:00
821f1e9fb2
MAINT: Cleanup
...
TODO and FIXME removals.
Replaced unnecessary alt_peek! macro.
Renamed some types for clarity.
2018-12-14 16:01:17 -06:00
d26050cbbb
MAINT: formatting using cargo fmt.
2018-12-13 19:12:44 -06:00
2a99bbb33a
REFACTOR: rename macro now that nom is no longer used.
2018-12-12 19:18:37 -06:00
e9a0bde631
MAINT: Opt in to 2018 edition of Rust.
2018-12-06 12:23:52 -06:00
6712fc9bb5
Merge squash of the no_more_nom branch
...
commit e4c80b19f5149fb7dba0a9b785e22ff5323b5470
Author: Jeremy Wall <jeremy@marzhillstudios.com>
Date: Sun Nov 4 09:54:16 2018 -0600
FEATURE: report better stacktraces for parsing.
commit 24b97c1037d6ddbe21f32e172b1c14cd2cfb9910
Author: Jeremy Wall <jeremy@marzhillstudios.com>
Date: Wed Oct 17 19:00:29 2018 -0500
FEATURE: Use context for our error reporting.
commit c22d397545e7575608e34561a274745b28be8c2c
Author: Jeremy Wall <jeremy@marzhillstudios.com>
Date: Sun Oct 14 14:18:42 2018 -0500
FIX: Better error reporting.
commit 7f47dc3f38bf6a3e8686c1fa3fd50ef97d4bf3af
Author: Jeremy Wall <jeremy@marzhillstudios.com>
Date: Sat Oct 13 19:42:22 2018 -0500
REFACTOR: Pass our offsets everywhere.
commit 91d7ed690bfd9989270ba9fa4f44c70f513d54b9
Author: Jeremy Wall <jeremy@marzhillstudios.com>
Date: Sun Sep 23 15:08:45 2018 -0500
REFACTOR: Use abortable_parser.
2018-11-05 21:34:12 -06:00
bd4c9a26c0
BUGFIX: Binary Expressions would abort early in compare expressions.
2018-08-22 18:58:48 -05:00
ed87ca353b
MAINT: TODO cleanups.
2018-08-15 18:49:11 -05:00
f3e769095d
FEATURE: Parse out statements.
2018-08-13 20:37:58 -05:00
3779c4912d
CLEANUP: Documentation and public interface.
...
* Added missing docs for public methods or functions.
* Made private methods or functions that didn't need to be exposed.
* Cleaned up spelling and grammar on some of the docstrings.
2018-07-16 17:32:09 -05:00
155a73ba2a
DOCS: Add Copyright Notices to files missing them.
2018-07-06 18:53:20 -05:00
921643972b
REFACTOR: Speed up precedence parsing.
...
Do less reparsing by parsing the list of operators and operands first before
performing the bottom up parsing.
2018-07-04 12:33:08 -05:00