-
-
Notifications
You must be signed in to change notification settings - Fork 84
/
ebnf.scroll
79 lines (62 loc) · 2.14 KB
/
ebnf.scroll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
import ../code/conceptPage.scroll
id ebnf
name EBNF
appeared 1977
creators Niklaus Wirth
tags grammarLanguage
standsFor extended Backus-Naur form
fileType text
codeMirror ebnf
centralPackageRepositoryCount 0
pygmentsHighlighter EBNF
filename parsers.py
fileExtensions ebnf
multiLineCommentTokens (* *)
hasMultiLineComments true
(* A comment
*)
hasComments true
(* A comment
*)
hasSemanticIndentation false
wikipedia https://en.wikipedia.org/wiki/Extended_Backus–Naur_form
example
function application = list( symbol, { expression } );
related pascal xml regex
summary In computer science, extended Backus-Naur form (EBNF) is a family of metasyntax notations, any of which can be used to express a context-free grammar. EBNF is used to make a formal description of a formal language which can be a computer programming language. They are extensions of the basic Backus–Naur form (BNF) metasyntax notation. The earliest EBNF was originally developed by Niklaus Wirth incorporating some of the concepts (with a different syntax and notation) from Wirth syntax notation. However, many variants of EBNF are in use. The International Organization for Standardization has adopted an EBNF standard (ISO/IEC 14977). This article uses EBNF as specified by the ISO for examples applying to all EBNFs. Other EBNF variants use somewhat different syntactic conventions.
pageId 71289
dailyPageViews 244
backlinksCount 50
appeared 1977
hopl https://hopl.info/showlanguage.prx?exp=755
linguistGrammarRepo https://github.com/sanssecours/EBNF.tmbundle
firstCommit 2012
lastCommit 2016
committerCount 2
commitCount 42
sampleCount 4
example
(*
Source: https://github.com/io7m/jsom0
License: ISC
*)
digit_without_zero =
"1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;
digit =
"0" | digit_without_zero ;
positive =
digit_without_zero , { digit } ;
natural =
"0" | positive ;
real =
[ "-" ] , digit , [ "." , { digit } ] ;
isbndb 0
githubLanguage EBNF
fileExtensions ebnf
trendingProjectsCount 0
type data
aceMode text
codemirrorMode ebnf
codemirrorMimeType text/x-ebnf
tmScope source.ebnf
repos 0