Changeset trunk,20


Ignore:
Timestamp:
06/23/2007 07:46:22 PM (19 years ago)
Author:
dsowen
revision id:
svn-v3-trunk0:2948df59-2b31-0410-8e06-c40c0b09d5b6:trunk:20
Message:

Finished moving stuff around.
Added syntax-mode lines; hopefully this helps Emacs grok long docstrings.

Location:
trunk
Files:
5 edited

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
    96
    107(defmacro if-matches-parser (input parser (next match)
  • trunk/package.lisp

    r16 r20  
     1;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp -*-
     2
    13(defpackage #:dso-parse
    24  (:documentation
  • trunk/parse.lisp

    r16 r20  
     1;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp -*-
     2
    13(defun hash-names (names &optional (map (make-hash-table)))
    24  (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)
    24
    35
     
    1517
    1618(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*)
     22definitions: (name rule filter?)"
    1823  (flet ((x (definition)
    1924           (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)
    24
    35
     
    1517              :displaced-to string
    1618              :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.