Changeset trunk,9 for trunk/csv.lisp


Ignore:
Timestamp:
06/18/2007 03:47:51 PM (19 years ago)
Author:
dsowen
revision id:
svn-v3-trunk0:2948df59-2b31-0410-8e06-c40c0b09d5b6:trunk:9
Message:

Added match-only matcher (consumes but doesn't add to tree).
Fixed: String-matching against short input would fail.
In process of changing tree representation (to match original parse.lisp).
Re-indenting GNU-Emacs--style.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/csv.lisp

    r8 r9  
    44(import 'parse::with-gensyms)
    55(import 'cl-ppcre:scan)
    6 (load "lisp/parse/parse3")
     6(load "parse/parse3")
    77
    88(defmacro defparser (name rule)
     
    2020(defgrammar
    2121  (file (+ row))
    22   (row (value (* (comma value)) #\Newline))
     22  (row (value (* ((= comma) value)) (= #\Newline)))
    2323  (comma #\,)
    2424  (value (? (/ dquoted-value squoted-value raw-value)))
Note: See TracChangeset for help on using the changeset viewer.