Skip to content

Commit 96a57d4

Browse files
committed
Notes on regenerating tmp/sql.pegs
1 parent b6e87ca commit 96a57d4

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

sql.pegjs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
// Originally generated from tmp/rules.rb and bubble-to-pegjs_ex.rb
2-
// and manually edited for pegjs suitability. Rules with indentation
3-
// or with comments have manual edits.
1+
// Originally generated from...
2+
// 1) sql-bubble.txt (from sqlite.org)
3+
// 2) ./sql-bubble.rb sql-bubble.txt > tmp/rules.rb
4+
// 3) ./bubble-to-pegjs.rb tmp/rules.rb bubble-to-pegjs_ex.rb > tmp/sql.pegjs
5+
//
6+
// Then, manually edited for pegjs suitability.
7+
//
8+
// Rules with indentation or with comments have manual edits.
49
//
510
{
611
function append(arr, x) {

0 commit comments

Comments
 (0)