File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import peggy from 'peggy'
55let parse
66
77beforeAll ( async ( ) => {
8- const rules = await parseFile ( 'maml.abnf' )
8+ const rules = await parseFile ( 'spec/v0.1/ maml.abnf' )
99 const text = rules . toFormat ( )
1010 const doParse = peggy . generate ( text , { startRule : 'maml' } ) ?. parse
1111 if ( ! doParse ) throw new Error ( 'Parser generation failed' )
Original file line number Diff line number Diff line change @@ -303,4 +303,7 @@ ABNF Grammar
303303A formal description of MAML's syntax in ABNF format
304304([ RFC 5234] ( https://www.ietf.org/rfc/rfc5234.txt ) ).
305305
306- <<< @/maml.abnf
306+ A visual representation of the MAML syntax is available in the
307+ [ syntax diagram] ( /spec/v0.1/diagram.md ) .
308+
309+ <<< @/spec/v0.1/maml.abnf
Original file line number Diff line number Diff line change 1- # MAML's Syntax Diagrams
1+ # MAML v0.1 Syntax Diagrams
22
33<style >
44 svg {
88 }
99
1010 svg * {
11- stroke : var (--vp-c-text-1 ) !important ;
11+ stroke : var (--vp-c-text-3 ) !important ;
1212 }
1313
1414 svg text {
15- stroke : var (--vp-c-text-1 ) !important ;
16- stroke-width : 0.5 !important ;
15+ fill : var (--vp-c-text-1 ) !important ;
16+ stroke-width : 0 !important ;
1717 }
1818</style >
1919
File renamed without changes.
You can’t perform that action at this time.
0 commit comments