aboutsummaryrefslogtreecommitdiff
path: root/src/Language/SimpleShell/Parser
AgeCommit message (Collapse)Author
2025-05-20Change relaxed expr parser implementationexperimental/relaxed-expr-parser-altEinhard Leichtfuß
Debatable whether better or worse.
2025-05-20Add relaxed expr parserEinhard Leichtfuß
This is just to parse expressions *without* checking for defined functions, and to be used in a first pass.
2025-05-20Reduce name parsers to namePEinhard Leichtfuß
There is no good reason to have different syntax for variable and function names, for example.
2025-05-19Add function parserEinhard Leichtfuß
Also, we now define and use proper symbol and keyword parsers.
2025-05-19Add Function ASTEinhard Leichtfuß
2025-05-19Fix expression parserEinhard Leichtfuß
Some were clear bugs, generally there was some confusion between expressions and terms. The latter have now been subdivided into strong and weak terms, where weak terms form the basis of expressions and strong terms are required for function arguments.
2025-05-19Use lexeme parserEinhard Leichtfuß
2025-05-19Expression AST and parserEinhard Leichtfuß
Deleted old AST.hs; old code shall re-appear.