aboutsummaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* move common procedures for matcher and producer to internalGravatar Peter McGoron 2025-05-021-0/+1
|
* move utils to new library, emit ellipsis dag from matcher compilerGravatar Peter McGoron 2025-04-262-11/+43
| | | | | | | The compiler now returns a DAG implemented as a hash table. The keys are ellipsis group IDs and the values are lists of ellipsis group IDS. When a producer encounters a repeated form, it uses the information in this DAG to confirm that the production is valid.
* document pattern matcher, add ellipsis groupsGravatar Peter McGoron 2025-04-261-48/+37
| | | | | | | | | | | | | | | | | | | | | Add precise definitions, with examples, for concepts like the ellipsis nesting level. This should clarify what the matcher is doing. They should apply to any implementation of the Macrological Fascicle's description of patterns. This also adds ellipsis grouping. This is used to determine which identifiers are allowed to be repeated with each other in output. TODO: The concept of group needs to encompass nested identifiers. For instance (let-values (((name ...) value) ...) body ...) does not allow ((name ...) body ...) but the current system does not handle this.
* reorganize pattern moduleGravatar Peter McGoron 2025-04-253-6/+9
|
* test vectors with matches after an ellipsesGravatar Peter McGoron 2025-04-251-1/+38
|
* support literals as a list of identifiers, test literalsGravatar Peter McGoron 2025-04-251-16/+35
|
* fix nested ellipsesGravatar Peter McGoron 2025-04-251-4/+88
|
* rewrite expanderGravatar Peter McGoron 2025-04-251-7/+20
| | | | | | | | | | | | | Expander now uses dynamically scoped variables. The old lexical scope variable implementation was getting to four nested lambdas, which was unreadable. The dynamic variables are clearly labeled and segregated from the rest of the code. The actual compiler interacts with the dynamic variables through an API. The previous compiler did not handle empty ellipses match properly. This has some more work to fix that.
* fix pattern list creationGravatar Peter McGoron 2025-04-242-2/+21
|
* add pattern matcher and some testsGravatar Peter McGoron 2025-04-243-0/+94
|
* add tests for bound-identifier-comparatorGravatar Peter McGoron 2025-04-241-107/+150
|
* start work on the fundamental syntax objectGravatar Peter McGoron 2025-04-233-0/+173
48ffdcc3b8ccbba5aa7dad49587d1eb5?s=13&d=retro' width='13' height='13' alt='Gravatar' /> dmaas 5-39/+161 2003-01-15implement tag matching for rawiso receptionGravatar dmaas 3-4/+12 2003-01-06back out previous commit - don't drop the legacy API just yetGravatar dmaas 6-173/+130 2003-01-05emulate legacy ISO reception API on top of new rawiso APIGravatar dmaas 7-131/+174 2002-12-24update iso API for multi-channel reception and new packet buffer layoutGravatar dmaas 4-123/+236 2002-12-20oops, irq_interval needs to be signedGravatar anonymous 1-1/+1 2002-12-20dmaas - renamed exported arm definitions into the raw1394_ namespace; brought...Gravatar anonymous 3-124/+48 2002-12-16rawiso updates:Gravatar dmaas 3-18/+25 2002-11-18fix cplusplus extern C blockGravatar ddennedy 1-4/+4 2002-11-18merged rawiso branchGravatar ddennedy 7-6/+488