- Timestamp:
- 06/23/2007 07:46:22 PM (19 years ago)
- revision id:
- svn-v3-trunk0:2948df59-2b31-0410-8e06-c40c0b09d5b6:trunk:20
- Location:
- trunk
- Files:
-
- 5 edited
-
matching.lisp (modified) (1 diff)
-
package.lisp (modified) (1 diff)
-
parse.lisp (modified) (1 diff)
-
parsing.lisp (modified) (2 diffs)
-
util.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/matching.lisp
r19 r20 1 ;(in-package #:dso-parse) 2 3 4 5 (defmacro while (cond &body body) 6 `(do () 7 ((not ,cond)) 8 ,@body)) 1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp -*- 2 3 (in-package #:dso-parse) 4 5 9 6 10 7 (defmacro if-matches-parser (input parser (next match) -
trunk/package.lisp
r16 r20 1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp -*- 2 1 3 (defpackage #:dso-parse 2 4 (:documentation -
trunk/parse.lisp
r16 r20 1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp -*- 2 1 3 (defun hash-names (names &optional (map (make-hash-table))) 2 4 (if names -
trunk/parsing.lisp
r17 r20 1 (in-package '#:dso-parse) 1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp -*- 2 3 (in-package #:dso-parse) 2 4 3 5 … … 15 17 16 18 (defmacro defgrammar (() &body definitions) 17 "Defines a grammar, being a collection of parsers." 19 "Defines a grammar, being a collection of parsers. The syntax is: 20 21 (DEFGRAMMAR (options*) definitions*) 22 definitions: (name rule filter?)" 18 23 (flet ((x (definition) 19 24 (destructuring-bind (name rule &optional filter) definition -
trunk/util.lisp
r17 r20 1 (in-package '#:dso-parse) 1 ;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp -*- 2 3 (in-package #:dso-parse) 2 4 3 5 … … 15 17 :displaced-to string 16 18 :displaced-index-offset start)) 19 20 (defmacro while (cond &body body) 21 `(do () 22 ((not ,cond)) 23 ,@body))
Note: See TracChangeset
for help on using the changeset viewer.
