Skip to content

Commit

Permalink
Support RFC 7405 (Case-Sensitive String Support in ABNF).
Browse files Browse the repository at this point in the history
Support Errata 5334 (Single-quoted strings are case-sensitive).

Show detailed ANTLR error messages with line number and column number.

Treat all ANTLR errors as exceptions (ignores ANTLR auto recovery).

Treat repetitions as greedy (e.g., 1*4"8" translates to '8' ('8' '8' '8'  | '8' '8' | '8'?) instead of '8' ('8'? | '8' '8' | '8' '8' '8' ).

Add comprehensive file-driven unit tests with over 95% code coverage.

Fix num-val concatenations (e.g., %d65.66 translates to 'A' 'B' instead of 'A'|'B')

Fix command line to support --direct parameter correctly

Add generator solution for editing AbnfAst.g3 and generating parser and lexer files in Visual Studio.
  • Loading branch information
Robert Pinchbeck committed Jan 4, 2020
1 parent ea68105 commit 210a4ec
Show file tree
Hide file tree
Showing 309 changed files with 204,573 additions and 3,805 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
#* text=auto

###############################################################################
# Set default behavior for command prompt diff.
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -259,4 +259,6 @@ paket-files/
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc

# Solution specific
/AbnfToAntlr.Web/Properties/PublishProfiles
Loading

0 comments on commit 210a4ec

Please sign in to comment.