aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-07-24Add two testsAlessandro Iezzi
2024-07-24Add a new testAlessandro Iezzi
2024-07-24Add rules to the lexer to ignore commentsAlessandro Iezzi
2024-07-24Add test.propertiesAlessandro Iezzi
2024-07-24Add a commentAlessandro Iezzi
2024-07-24Ignore single line ending with newlineAlessandro Iezzi
2024-07-24Add a referenceAlessandro Iezzi
2024-07-24Ignore lines with only spaces or tabsAlessandro Iezzi
2024-07-24Ignore newline linesAlessandro Iezzi
In the properties file you can separeta blocks of properties using the newline character.
2024-07-24Remove the Lex rule to ignore tabs and spacesAlessandro Iezzi
Those characters must be read inside the value. With that rule, I had properties without spaces or tabs, for example: key1=value with a space Became: key1=valuewithaspace So, this commit resolves that issue.
2024-07-24Add rules to parse a single and multiple propertiesAlessandro Iezzi
2024-07-24Add grammar rules to parse the value of a propertyAlessandro Iezzi
In the lexer, I've done a string duplication, 'cause the value wasn't transfered to the parser. The VALUE token keep a single character, so, in the parser I need to concatenate every single character to a string.
2024-07-24Remove the main function from properties.lAlessandro Iezzi
The next step is to define the whole grammar inside the parser.
2024-07-22Add a first draft of the parserAlessandro Iezzi
2024-07-22libproperties 0.0.0-alpha.0v0.0.0-alpha.0Alessandro Iezzi
2024-07-22Initial commitAlessandro Iezzi