Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
DHParser
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
badw-it
DHParser
Commits
0e2c4d73
Commit
0e2c4d73
authored
Feb 09, 2019
by
Eckhart Arnold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- examples/EBNF: new ebnf example
parent
e5a60c55
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
examples/EBNF/grammar_tests/01_test_leaf_elements.ini
examples/EBNF/grammar_tests/01_test_leaf_elements.ini
+7
-0
examples/EBNF/grammar_tests/02_test_document.ini
examples/EBNF/grammar_tests/02_test_document.ini
+8
-0
No files found.
examples/EBNF/grammar_tests/01_test_leaf_elements.ini
0 → 100644
View file @
0e2c4d73
[match:symbol]
M1:
word
M2:
one_word_with_underscores
[fail:symbol]
F1:
two
words
examples/EBNF/grammar_tests/02_test_document.ini
0 → 100644
View file @
0e2c4d73
[match:document]
M1:
"""This
is
a
sequence
of
words
extending
over
several
lines"""
M2:
"""
This
sequence
contains
leading
whitespace"""
[fail:document]
F1:
"""This
test
should
fail,
because
neither
comma
nor
full
have
been
defined
anywhere."""
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment