Permalink
Browse files

remove headers from example grammars

  • Loading branch information...
1 parent 1da9f62 commit e1b3692326d527acc9cd9c00e2979b9c1a775678 @orlandohill committed Aug 29, 2010
Showing with 4 additions and 44 deletions.
  1. +0 −5 grammars/calc.waxeye
  2. +1 −4 grammars/json.waxeye
  3. +0 −6 grammars/modular/mod.scm
  4. +1 −5 grammars/num.waxeye
  5. +1 −9 grammars/regexp.waxeye
  6. +0 −6 grammars/templ.waxeye
  7. +1 −9 grammars/waxeye.waxeye
View
@@ -1,8 +1,3 @@
-# Waxeye Parser Generator
-# www.waxeye.org
-# Copyright (C) 2008-2010 Orlando Hill
-# Licensed under the MIT license. See 'LICENSE' for details.
-
# A grammar for an arithmetic calculator.
# Supports +,-,*,/, negation, parentheses and floating point numbers.
View
@@ -1,7 +1,4 @@
-# Waxeye Parser Generator
-# www.waxeye.org
-# Copyright (C) 2008-2010 Orlando Hill
-# Licensed under the MIT license. See 'LICENSE' for details.
+# The JSON data format
Json <- Ws Value
View
@@ -1,9 +1,3 @@
-;; Waxeye Parser Generator
-;; www.waxeye.org
-;; Copyright (C) 2008-2010 Orlando Hill
-;; Licensed under the MIT license. See 'LICENSE' for details.
-
-
;; A contrived example where we replace the definition of Number in Json with a
;; much simpler one that only supports integers.
View
@@ -1,7 +1,3 @@
-# Waxeye Parser Generator
-# www.waxeye.org
-# Copyright (C) 2008-2010 Orlando Hill
-# Licensed under the MIT license. See 'LICENSE' for details.
-
+# Non-negative integers
Num <- '0' | [1-9] *[0-9]
View
@@ -1,12 +1,4 @@
-# Waxeye Parser Generator
-# www.waxeye.org
-# Copyright (C) 2008-2010 Orlando Hill
-# Licensed under the MIT license. See 'LICENSE' for details.
-
-
-#
-# This is a grammar for a simple regular expression language.
-#
+# A simple regular expression language.
# alternation has lowest precedence
Regexp <- Concat *(:'|' Concat)
View
@@ -1,9 +1,3 @@
-# Waxeye Parser Generator
-# www.waxeye.org
-# Copyright (C) 2008-2010 Orlando Hill
-# Licensed under the MIT license. See 'LICENSE' for details.
-
-
# A grammar for code generation templates.
template <- *(code | string)
View
@@ -1,12 +1,4 @@
-# Waxeye Parser Generator
-# www.waxeye.org
-# Copyright (C) 2008-2010 Orlando Hill
-# Licensed under the MIT license. See 'LICENSE' for details.
-
-
-#
-# This grammar describes the Waxeye grammar language.
-#
+# The Waxeye grammar language.
Grammar <- Ws *Definition

0 comments on commit e1b3692

Please sign in to comment.