Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add match logic to AST and Nock. #7

Closed
wants to merge 34 commits into from
Closed
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ad4ab3f
WIP include test syntax
sigilante Nov 7, 2024
ae59679
WIP match parser logic
sigilante Nov 7, 2024
2f5ee41
WIP match
sigilante Nov 11, 2024
9bf72a6
WIP parser working; Nock needs work
sigilante Nov 12, 2024
1d44a50
WIP more match nock
sigilante Nov 12, 2024
5699935
WIP add type matching basics
sigilante Nov 12, 2024
6c227f1
Remove error hints to make code more legible.
sigilante Nov 13, 2024
05520a7
WIP add hunt nock
sigilante Nov 13, 2024
abc71e5
(Working) Add tokenize view to test-jock.
sigilante Nov 14, 2024
a2d1599
Fix else clause in else-if
sigilante Nov 14, 2024
1fce6e7
WIP implement comments and block comments.
sigilante Nov 14, 2024
6eaa55d
Fix AST parsing of tokens. (Inline and block comments work now.)
sigilante Nov 14, 2024
52ef429
WIP match compilation in media res
sigilante Nov 14, 2024
a654557
(Working) match AST working for both case and type
sigilante Nov 15, 2024
da43bfd
WIP add Logan's fish-loop sidestep
sigilante Nov 15, 2024
6df373f
Compiling match type and match case
sigilante Nov 15, 2024
61d0633
Post out.jam
sigilante Nov 15, 2024
e3b3c34
Fix preliminaries like else keyword.
sigilante Nov 18, 2024
1466938
WIP but commit version in issue #10
sigilante Nov 18, 2024
9877836
Post working testing framework.
sigilante Nov 18, 2024
d3831f7
Post generated tests.
sigilante Nov 18, 2024
4dd55b1
Post with jamfile.
sigilante Nov 19, 2024
fc62a16
Post checked testing pattern.
sigilante Nov 19, 2024
ef5e79a
Post instructions.
sigilante Nov 19, 2024
f2ccd03
Bump
sigilante Nov 20, 2024
4b69f80
Merge
sigilante Nov 20, 2024
0eb3fb3
Add in all basics for testing.
sigilante Nov 20, 2024
76ec739
Add stubs for match tests.
sigilante Nov 20, 2024
f4553f4
WIP stash
sigilante Nov 25, 2024
5133d4e
Fix typo
sigilante Nov 25, 2024
4e353f1
Add back in match testing.
sigilante Dec 3, 2024
247e99a
Merge branch 'sigilante-sigilante/match'
sigilante Dec 3, 2024
08cd91c
Fix
sigilante Dec 3, 2024
c6f92b3
Merge branch 'sigilante-sigilante/match' into sigilante/match
sigilante Dec 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ make release
./target/release/jock-testing test-all
```

This will execute all of the supplied programs, then run unit tests over each of the compilation steps in producing each program's Nock.
Binary file modified assets/jocktest.jam
Binary file not shown.
Loading