tests/parsertests.py
63531e755f52
created 2009-02-09 16:45 -0500
pushed 2009-02-09 21:45 +0000
Benjamin Smedberg Benjamin Smedberg - Significant reworking of how variables are parsed and stored. They are now stored as strings, instead of Expansion objects. Recursively-expanded variables are parsed at the time they are expanded. This coupling between the data model and the parser is ridiculous, but compatible.
cbeb0eba9087
created 2009-02-09 12:14 -0500
pushed 2009-02-09 21:45 +0000
Benjamin Smedberg Benjamin Smedberg - This is preparatory work for separating parsemakesyntax from the comment and line-continuation rules. The data iterators here are not actually being used yet anywhere except the tests.
3ce56bc0b679
created 2009-02-06 15:33 -0500
pushed 2009-02-06 20:34 +0000
Benjamin Smedberg Benjamin Smedberg - Fix the parser tests.
2b81cff1aa0a
created 2009-02-05 22:25 -0500
pushed 2009-02-06 03:38 +0000
Benjamin Smedberg Benjamin Smedberg - Move comment and line-continuation parsing into the syntax parser. This is needed for the next patch which implements commands on the same line as a rule (delimited with ;)... in that case, the line continuations are command-style continuations, and not makefile syntax continuations.
650679bb3c0e
created 2009-02-05 16:24 -0500
pushed 2009-02-05 21:24 +0000
Benjamin Smedberg Benjamin Smedberg - Pattern-specific variable assignments, and test fixup from the last commit.
325956fb47c1
created 2009-02-04 13:32 -0500
pushed 2009-02-04 18:47 +0000
Benjamin Smedberg Benjamin Smedberg - Basic pattern rules
5f4a31d7d5e7
created 2009-02-04 12:06 -0500
pushed 2009-02-04 17:10 +0000
Benjamin Smedberg Benjamin Smedberg - Tests are wonderful. So is working code. Now we have both!
d5e06631bdfe
created 2009-02-02 21:47 -0500
pushed 2009-02-03 02:47 +0000
Benjamin Smedberg Benjamin Smedberg - Simple variable assignment is important.
1a360cf3a18d
created 2009-02-02 21:15 -0500
pushed 2009-02-03 02:18 +0000
Benjamin Smedberg Benjamin Smedberg - Variable references work! At least the most-basic ones.
619a54201e32
created 2009-02-02 16:07 -0500
pushed 2009-02-02 21:07 +0000
Benjamin Smedberg Benjamin Smedberg - The makefile syntax parser needs to take a starting position as well.
1159b78fb8a6
created 2009-02-02 15:34 -0500
pushed 2009-02-02 21:07 +0000
Benjamin Smedberg Benjamin Smedberg - This appears, at first glance, to actually parse functions and variable substitutions correctly. That's really awesome, even more so because I have unit tests.
33eb1c16caea
created 2009-01-31 13:39 -0500
pushed 2009-01-31 18:39 +0000
Benjamin Smedberg Benjamin Smedberg - Beginnings of a parser, with unit tests.
less more (0) tip