Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
badw-it
DHParser
Commits
60e20356
Commit
60e20356
authored
Apr 25, 2017
by
di68kap
Browse files
- started testbed minilanguage
parent
1e0bc6d8
Changes
5
Hide whitespace changes
Inline
Side-by-side
examples/DHParser-Testbed/Testbed.ebnf
0 → 100644
View file @
60e20356
# EBNF-Syntax for the Testbed-minilanguage for DHParser
examples/DHParser-Testbed/example.tb
0 → 100644
View file @
60e20356
# Example for a Testbed. This example contains a few tests for the EBNF
# language
#######################################################################
match:literal
standard {"literal test double quoted"}
{'literal test single suoted'}
{'literal
multiple lines
with gap'}
whitespace
{'literal with right-attached whitespace' }
fail:literal
{ 'literal with left-attached whitespace'}
{quotation marks forgotten}
#######################################################################
match:symbol
"letters" {symbol}
"underscore" {symbol_with_underscore}
""
examples/DHParser-Testbed/readme.md
0 → 100644
View file @
60e20356
DHParser-Testbed
================
DHParser-Testbed is a simple DSL to formulate Testcases for DSL development
with DHParser.
examples/MLW/samples/fascitergula.mlw
View file @
60e20356
...
...
@@ -20,7 +20,7 @@ SCHREIBWEISE
script.:
vizreg-: beleg_id_3
festregel(a): beleg_id_4
fezdregl(a): beleg_id5
fezdregl(a): beleg_id
_
5
BEDEUTUNG
...
...
@@ -49,5 +49,4 @@ BELEGE
* II 20 nuditatem membrorum illius (puellae) tegere festinarunt fideles
clerici et laici inprimis cum eorum -cula, dein vestibus solitis.
AUTORIN Weber
experimental/ebnf.ebnf
View file @
60e20356
...
...
@@ -20,7 +20,7 @@ factor = [flowmarker] [retrieveop] symbol !"=" # negative lookahead to b
flowmarker = "!" | "&" | "§" | # '!' negative lookahead, '&' positive lookahead, '§' required
"-!" | "-&" # '-' negative lookbehind, '-&' positive lookbehind
retrieveop = "::" | ":" # '::' pop, ':' retrieve
retrieveop = "::" | ":"
# '::' pop, ':' retrieve
group = "(" expression §")"
option = "[" expression §"]"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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