From f02ca33f2bc8efdd43e3e34a99dc2bbf515e424b Mon Sep 17 00:00:00 2001 From: Matthew Pope Date: Tue, 13 Sep 2022 09:58:01 -0700 Subject: [PATCH 01/12] Adds Ion Schema 2.0 specification --- Gemfile.lock | 5 + _config.yml | 2 +- _includes/grammar-2-0.txt | 179 ++++++++++ _includes/grammar-element.md | 26 ++ docs/index.md | 2 +- docs/isl-2-0/bnf-grammar.md | 14 + docs/isl-2-0/spec.md | 668 +++++++++++++++++++++++++++++++++++ 7 files changed, 894 insertions(+), 2 deletions(-) create mode 100644 _includes/grammar-2-0.txt create mode 100644 _includes/grammar-element.md create mode 100644 docs/isl-2-0/bnf-grammar.md create mode 100644 docs/isl-2-0/spec.md diff --git a/Gemfile.lock b/Gemfile.lock index c130bca..40af949 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -251,6 +251,7 @@ GEM unf_ext unf_ext (0.0.8.2) unicode-display_width (1.8.0) + webrick (1.7.0) zeitwerk (2.6.0) PLATFORMS @@ -258,6 +259,10 @@ PLATFORMS DEPENDENCIES github-pages + webrick (~> 1.7) + +RUBY VERSION + ruby 2.6.8p205 BUNDLED WITH 1.17.2 diff --git a/_config.yml b/_config.yml index ca1cd78..3118c21 100644 --- a/_config.yml +++ b/_config.yml @@ -6,7 +6,7 @@ baseurl: /ion-schema markdown: kramdown kramdown: input: GFM - toc_levels: "2,3" + toc_levels: "1,2" highlighter: rouge defaults: - diff --git a/_includes/grammar-2-0.txt b/_includes/grammar-2-0.txt new file mode 100644 index 0000000..ae707f7 --- /dev/null +++ b/_includes/grammar-2-0.txt @@ -0,0 +1,179 @@ + ::= $ion_schema_2_0 + + ::= ... + |
...