Commit 861e480
committed
Ran all grammars through the formatter
With this patch we introduce a common set of rules for the grammars in this repository. All future changes in a grammar must follow these rules.1 parent 5b3f1b7 commit 861e480
File tree
511 files changed
+172240
-142823
lines changed- _scripts/templates
- abb
- abnf
- ada
- ada2005
- ada2012
- ada83
- ada95
- agc
- alef
- algol60
- alloy
- alpaca
- angelscript
- antlr
- antlr2
- antlr3
- antlr4
- Cpp
- Python3
- examples
- apex
- apt
- aql
- arden
- argus
- arithmetic
- asl
- asm
- asm6502
- asm8080
- asm8086
- asmMASM
- asmZ80
- masm
- nasm
- pdp7
- ptx
- ptx-isa-1.0
- ptx-isa-2.1
- asn
- asn_3gpp
- asn
- aspectj
- atl
- awk
- basic
- bcl
- bcpl
- ignore
- bdf
- bencoding
- bibcode
- bibtex
- bicep
- bison
- bnf
- b
- calculator
- callable
- capnproto
- caql
- cayenne
- chip8
- clf
- clif
- clojure
- clu
- cmake
- cobol85
- cookie
- cpp
- cql3
- cql
- creole
- csharp
- CSharp
- css3
- csv
- ctl
- cto
- cypher
- c
- dart2
- databank
- datalog
- dcm
- dice
- dif
- doiurl
- dot
- edif300
- edn
- elixir
- erlang
- esolang
- brainflak
- brainfuck
- cool
- dgol
- lolcode
- loop
- nanofuck
- sickbay
- snowball
- wheel
- evm-bytecode
- fasta
- fdo91
- fen
- flatbuffers
- flowmatic
- focal
- fol
- fortran
- fortran77
- fortran90
- freedesktop/desktop-entry
- fusion-tables
- gdscript
- gedcom
- gff3
- glsl
- gml
- golang
- graphql
- graphstream-dgs
- gtin
- guido
- guitartab
- gvpr
- haskell
- html
- http
- hypertalk
- icalendar
- icon
- idl
- informix
- infosapient
- inf
- iri
- iso8601
- istc
- itn
- jam
- janus
- javadoc
- javascript
- ecmascript
- CSharpSharwell
- CSharp
- Go
- JavaScript
- Python
- TypeScript
- javascript
- jsx
- typescript
- java
- java20
- java8
- java9
- Cpp
- Dart
- java
- joss
- jpa
- json5
- json
- karel
- kirikiri-tjs
- kotlin
- kotlin-formal
- kotlin
- kquery
- kuka
- lambda
- lark
- lcc
- less
- limbo
- lisa
- lisp
- llvm-ir
- logo
- logo
- ucb-logo
- lpc
- lrc
- ltl
- lua
- lucene
- matlab
- mckeeman-form
- mdx
- memcached_protocol
- metamath
- metric
- microc
- modelica
- modula2pim4
- molecule
- moo
- morsecode
- mps
- muddb
- mumath
- mumps
- muparser
- newick
- oberon
- objc
- one-step-processing
- two-step-processing
- ocl
- oncrpc
- orwell
- parkingsign
- pascal
- pbm
- pcre
- pddl
- pdn
- pegen
- peoplecode
- pgn
- php
- pii
- pike
- pl0
- plucid
- ply
- pmmn
- postalcode
- powerbuilderdw
- powerbuilder
- powerquery
- prolog
- promql
- propcalc
- properties
- protobuf2
- protobuf3
- prov-n
- python
- python2-js
- python2_7_18
- python2
- python3_12_0
- python3
- python
- p
- qif
- quakemap
- racket-bsl
- racket-isl
- rcs
- recfile
- redcode
- refal
- rego
- restructuredtext
- rexx
- rfc1035
- rfc1960
- rfc3080
- rfc822
- rfc822-datetime
- rfc822-emailaddress
- robotwars
- romannumerals
- ron
- rpn
- ruby
- rust
- r
- scala
- scotty
- scss
- semver
- sexpression
- sgf
- sharc
- sici
- sieve
- smalltalk
- smiles
- smtlibv2
- snobol
- solidity
- sparql
- spass
- sql
- athena
- derby
- drill
- hive
- v2
- v3
- v4
- informix-sql
- mariadb
- mysql/Positive-Technologies
- phoenix
- plsql
- Dart
- postgresql
- snowflake
- sqlite
- trino
- tsql
- stacktrace
- star
- stellaris
- stl
- stringtemplate
- suokif
- swift-fin
- swift
- swift2
- swift3
- swift5
- szf
- tcpheader
- teal
- telephone
- terraform
- thrift
- tinybasic
- tinyc
- tinymud
- tinyos_nesc
- tiny
- tl
- tnsnames
- tnt
- toml
- trac
- tsv
- ttm
- turing
- turtle-doc
- turtle
- unicode
- graphemes
- unicode16
- unreal_angelscript
- upnp
- url
- useragent
- vb6
- vba
- velocity
- verilog
- systemverilog
- verilog
- vhdl
- vmf
- v
- wat
- wavefront
- webidl
- wkt-crs-v1
- wkt
- wln
- wren
- xml
- xpath
- xpath1
- xpath20
- xpath31
- xsd-regex
- xyz
- yara
- z
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
511 files changed
+172240
-142823
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
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 | | - | |
| 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 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
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 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 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 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
0 commit comments