-
Notifications
You must be signed in to change notification settings - Fork 41
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
first tests for (mm0 parser, mmu parser, mm0+mmu proof checker) #79
Open
Lakedaemon
wants to merge
15
commits into
digama0:master
Choose a base branch
from
Lakedaemon:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
2b486d2
first tests for (mm0 parser, mmu parser, mm0+mmu proof checker)
00b56ce
tweaking test setup
digama0 a1e58c8
newlines
digama0 90e6ec2
whitespace tests
389d9e4
tests for ids
f4bea2e
tests for math-strings
9eccd00
int tests
97d49c5
comment test
06b15a9
sort pass test
54f1424
fail test for sort with 2 modifiers
cfe043e
all bad-sort tests with regards to order of the modifiers
bccf813
out of order 2 modifiers bad-sort tests
43015b5
Merge branch 'master' of https://github.com/Lakedaemon/mm0
d4bb832
git (my lack of mastery of it) messed the deletion
af6aed7
moved 2 tests to run folder
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- --V one $ too many | ||
delimiter $ $ $; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
-- --V one $ too many | ||
delimiter $ $ $ $ $ ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
-- math-string ::= '$' [^\$]* '$' | ||
delimiter $ $; | ||
delimiter $ NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI | ||
DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US | ||
! " # % & ' ( ) * + , - . / | ||
0 1 2 3 4 5 6 7 8 9 : ; < = > ? | ||
@ A B C D E F G H I J K L M N O | ||
P Q R S T U V W X Y Z [ \ ] ^ _ | ||
` a b c d e f g h i j k l m n o | ||
p q r s t u v w x y z { | } ~ DEL $; | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
-- v-- this is a LINE FEED | ||
-- v-- this is a NEWLINE '\n' | ||
sort s | ||
digama0 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
-- v-- this is a LINE FEED | ||
-- v-- this is a NEWLINE '\n' | ||
(sort s | ||
) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this delimiter list is terrifying. The multi-character delimiters are not necessarily supported on all verifiers (certainly not on any that I have written), so that would put this in the "not necessarily pass" category (I'm thinking of calling this
run/
to mean "don't segfault but pass and fail are both okay")There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might have to modify the spec to only allow printable ascii inside math strings, because low ascii is a vector for display bugs, which could be exploitable to produce misleading theorem statements.