Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove headers from example grammars

  • Loading branch information...
commit e1b3692326d527acc9cd9c00e2979b9c1a775678 1 parent 1da9f62
@orlandohill authored
View
5 grammars/calc.waxeye
@@ -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
5 grammars/json.waxeye
@@ -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
6 grammars/modular/mod.scm
@@ -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
6 grammars/num.waxeye
@@ -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
10 grammars/regexp.waxeye
@@ -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
6 grammars/templ.waxeye
@@ -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
10 grammars/waxeye.waxeye
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.