[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] GNU Guile branch, wip-mlucy, created. v2.0.0-42-gd537c4a
From: |
Andy Wingo |
Subject: |
[Guile-commits] GNU Guile branch, wip-mlucy, created. v2.0.0-42-gd537c4a |
Date: |
Fri, 18 Feb 2011 23:08:06 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".
http://git.savannah.gnu.org/cgit/guile.git/commit/?id=d537c4ab2fc196a58de11bce3fd3cd1867fb7c90
The branch, wip-mlucy has been created
at d537c4ab2fc196a58de11bce3fd3cd1867fb7c90 (commit)
- Log -----------------------------------------------------------------
commit d537c4ab2fc196a58de11bce3fd3cd1867fb7c90
Author: Andy Wingo <address@hidden>
Date: Fri Feb 18 22:35:22 2011 +0100
reformat and reflow api-peg.texi
* doc/ref/api-peg.texi: Reformat and reflow.
commit fe9c5f543e12b68dbcb012f922fcb1da541e0c84
Author: Andy Wingo <address@hidden>
Date: Fri Feb 18 21:28:49 2011 +0100
peg: remove error-val
* module/ice-9/peg.scm (error-val): Remove needless definition.
commit 0048e6614952bb2df6865d1bd5297333fca8bc94
Author: Andy Wingo <address@hidden>
Date: Fri Feb 18 21:27:36 2011 +0100
peg: refactor peg-sexp-compile to operate on syntax directly
* module/ice-9/peg.scm (cg-generic-ret): Remove unused for-syntax
argument.
(peg-sexp-compile): Take the pattern as syntax directly, and use
syntax-case to destructure it and dispatch to the code generators.
(cg-and, cg-and-int, cg-or, cg-or-int): Refactor to operate on syntax
instead of on s-expressions.
(cg-body): Likewise; though this was a larger refactor.
(define-nonterm, peg-match): Adapt to peg-sexp-compile calling
convention change.
(peg-string-compile): Likewise, and just take the grammar as a syntax
object.
commit c022ef8f6b3e0c8a2eab8393911429aca539492e
Author: Andy Wingo <address@hidden>
Date: Fri Feb 18 11:33:12 2011 +0100
peg: cg-string, cg-peg-any, cg-range: remove needless for-syntax arg
* module/ice-9/peg.scm (cg-string, cg-peg-any, cg-range): Remove
unnecessary for-syntax arg.
(peg-sexp-compile): Adapt.
commit d14cf8dd0012c1e13ac06530d2242f6d4b2d4e35
Author: Andy Wingo <address@hidden>
Date: Fri Feb 18 11:31:18 2011 +0100
peg: change some instances of "match" to "pat"
* module/ice-9/peg.scm (cg-string): Rename "match" to "pat".
(peg-sexp-compile, cg-body-test, cg-body, define-nonterm): Likewise.
commit de88fb96b0908e7b1fff6e2d9bca9c06b95d0a48
Author: Andy Wingo <address@hidden>
Date: Fri Feb 18 11:13:39 2011 +0100
remove cggl, cg-generic-lambda
* module/ice-9/peg.scm (cg-generic-lambda, cggl): Remove these helpers,
they are no longer needed.
(cg-generic-ret): Remove optimization for particular cg- routines, as
it's no longer needed.
commit 193f40f5fe148d5c81b9afa4ad3b0d5959c6e0ab
Author: Andy Wingo <address@hidden>
Date: Fri Feb 18 11:10:17 2011 +0100
peg: more cggl / cggr excisions
* module/ice-9/peg.scm (cg-peg-any): Don't use cggr.
(cg-range): Don't use cggl or cggr.
commit 6f735e3391b06909600b35aff5b174898e5f00bb
Author: Andy Wingo <address@hidden>
Date: Fri Feb 18 11:03:26 2011 +0100
peg: cg-string does not use cggr
* module/ice-9/peg.scm (cg-string): Don't use cggr. Interesting to see
what it actually generates.
commit 6efeb9ef140fbcf79d5a9ce7d9457388bcf8e3dd
Author: Andy Wingo <address@hidden>
Date: Fri Feb 18 10:53:18 2011 +0100
peg: cg-peg-any does not use cggl
* module/ice-9/peg.scm (cg-peg-any): Don't use cggl.
commit f5e8f0f599a6a477e0109ec96b47993c4eb7d21c
Author: Andy Wingo <address@hidden>
Date: Fri Feb 18 10:48:22 2011 +0100
peg: cg-string without cggl
* module/ice-9/peg.scm (cg-string): Refactor to not use cggl.
commit 3c3b9864d1c6415bc0c431299d55b98c569aeb3f
Author: Andy Wingo <address@hidden>
Date: Fri Feb 18 10:42:13 2011 +0100
peg: cg-string improvement
* module/ice-9/peg.scm (cg-string): Use the more efficient string= with
range args, rather than string=? and substring.
commit d57fcb4cf2d298cc6743a63d40e47ebb3a177e2e
Author: Andy Wingo <address@hidden>
Date: Fri Feb 18 10:33:03 2011 +0100
peg: helper macro docstrings
* module/ice-9/peg.scm: Convert the helper macro comments into
docstrings.
commit 07a5994c6e56b69f628987c081c13fd8de0fab64
Author: Andy Wingo <address@hidden>
Date: Fri Feb 18 10:19:30 2011 +0100
peg: module-ref cleanup
* module/ice-9/peg.scm (cg-generic-ret, cg-and-int, cg-body-test):
Remove a few needless @ or @@ forms.
commit 4a25a0ea1e82f7918f20edf1b91a5a6bd187ed96
Author: Andy Wingo <address@hidden>
Date: Thu Feb 17 14:09:31 2011 +0100
peg: remove get-code debugging foo
* module/ice-9/peg.scm (define-nonterm): Don't stash the code in a
symbol property.
(get-code): Remove.
commit c4974ea4b3b35a7a6f1a602da4870dcaaa112162
Author: Andy Wingo <address@hidden>
Date: Thu Feb 17 14:06:08 2011 +0100
peg: more syntax helper cleanup
* module/ice-9/peg.scm (single-filter, push-not-null!): Use
syntax-rules, and move outside the eval-when.
commit 32b1b43b04ce994799aa25b940921514ba764685
Author: Andy Wingo <address@hidden>
Date: Thu Feb 17 13:52:37 2011 +0100
peg: else for default cond clauses, not #t
* module/ice-9/peg.scm: Change default cases of `cond' to use `else'
instead of #t.
commit 2fcae0142857b430faee6b294ec714cc6b3600a1
Author: Andy Wingo <address@hidden>
Date: Thu Feb 17 13:49:28 2011 +0100
peg; syntax helper cleanups
* module/ice-9/peg.scm (until, single?, push!): Move outside the
eval-when. Use syntax-rules, and single? is faster now.
commit a6493f3d3716dd690c38bcb94549d2918c24ffb8
Author: Andy Wingo <address@hidden>
Date: Thu Feb 17 13:41:55 2011 +0100
peg: cleanups
* module/ice-9/peg.scm (until): Rename from until-works, and be
functional (and faster).
(peg-match): Adapt.
commit 4179675c56410f2b65cc74f45ac30b231404fe58
Author: Andy Wingo <address@hidden>
Date: Thu Feb 17 13:38:14 2011 +0100
peg: define-module cleanup
* module/ice-9/peg.scm: Fix up define-module block.
commit baa844d9e5ce30271e6605b037f8bf8418b28f96
Author: Noah Lavine <address@hidden>
Date: Tue Feb 1 15:15:54 2011 -0500
peg: let cleanups
* module/ice-9/peg.scm (cg-string, cg-peg-any, cg-range): Remove some
unnecessary lets.
commit 0cf982394638b2df34206d903a2454b82f256484
Author: Noah Lavine <address@hidden>
Date: Tue Feb 1 10:42:50 2011 -0500
peg: remove unhygienic safe-bind, safe-bind-f
* module/ice-9/peg.scm (safe-bind, safe-bind-f): Remove.
commit d8d5a8cd0561b6e8141145e705ba2df2ddfd8088
Author: Noah Lavine <address@hidden>
Date: Tue Feb 1 10:41:20 2011 -0500
peg: remove unused nonhygienic expander helpers
* module/ice-9/peg.scm (cggl, cggr): Remove, and rename the cggl-syn and
cggr-syn to take their place.
commit 61d365699a7b59f16c90d007ae8b3269a088d128
Author: Noah Lavine <address@hidden>
Date: Tue Feb 1 10:36:08 2011 -0500
peg: more helpers returning syntax
* module/ice-9/peg.scm (cg-body, cg-body-success, cg-body-more)
(cg-body-ret): Return syntax instead of s-expressions.
commit e2a91f72403f2f038d51e731e3aa2f2116816581
Author: Noah Lavine <address@hidden>
Date: Mon Jan 31 15:08:32 2011 -0500
peg: cg-or, cg-or-int return syntax
* module/ice-9/peg.scm (cg-or, cg-or-int): Return syntax instead of
s-expressions.
(peg-sexp-compile): Adapt.
commit 916882364d342dd333dc138e9290d07b9e93a9f1
Author: Noah Lavine <address@hidden>
Date: Mon Jan 31 15:04:59 2011 -0500
peg: hygiene in cg-and, cg-and-int
* module/ice-9/peg.scm (cg-and, cg-and-int): Use cggr-syn instead of
cggr, and also return syntax now instead of s-expressions.
commit de021a7e09bb445beb9c52a2087afffdd5bdf20b
Author: Noah Lavine <address@hidden>
Date: Mon Jan 31 14:58:15 2011 -0500
peg: hygiene in cg-range
* module/ice-9/peg.scm (cg-range): Use cggl-syn and cggr-syn.
commit eef7c27bd74148c78c4d6222bfc9cc54a78aae55
Author: Noah Lavine <address@hidden>
Date: Mon Jan 31 14:56:02 2011 -0500
peg: hygiene in cg-peg-any
* module/ice-9/peg.scm (cg-peg-any): Use cggl-syn and cggr-syn.
commit 9b74a6263e49b1adddae237744ef9489f81ed17c
Author: Noah Lavine <address@hidden>
Date: Mon Jan 31 14:45:32 2011 -0500
peg: more hygiene in cg-string
* module/ice-9/peg.scm (cggl-syn, cggr-syn): New functions, equivalent
to cggl and cggr except that they operate on syntax instead of
s-expressions.
(cg-string): Use them here.
commit 8405e88a436667816d22db1a502404540c14b038
Author: Noah Lavine <address@hidden>
Date: Sun Jan 30 16:10:07 2011 -0500
peg: lower datum->syntax in cg-range case
* module/ice-9/peg.scm (cg-range): Datum->syntax here...
(peg-sexp-compile): ...instead of here.
commit 4ac05e96a935f0871fba1f1f0e509078a1d4673f
Author: Noah Lavine <address@hidden>
Date: Sun Jan 30 16:07:34 2011 -0500
peg: lower datum->syntax in cg-peg-any case
* module/ice-9/peg.scm (cg-peg-any): Datum->syntax here...
(peg-sexp-compile): ...instead of here.
commit ddcb314303811f51cdc6af0ebc5f01f87c33297b
Author: Noah Lavine <address@hidden>
Date: Sun Jan 30 16:04:36 2011 -0500
peg: lower datum->syntax in cg-string case
* module/ice-9/peg.scm (cg-string): Return syntax instead of
s-expressions.
(peg-sexp-compile): No need for datum->string in cg-string case.
commit aa86da66a1e80f368b2a04f7832496ebcb896a0e
Author: Noah Lavine <address@hidden>
Date: Sun Jan 30 15:59:52 2011 -0500
peg: peg-sexp-compile datum->syntax refactor
* module/ice-9/peg.scm (peg-sexp-compile): Push datum->syntax call
through cond expression in peg-sexp-compile. This is a preliminary
move so that I can convert the code-generating functions into
syntax-generating functions one by one.
commit b7e09ea890c34136943ae9b87e76a73e46f492c3
Author: Noah Lavine <address@hidden>
Date: Sat Jan 29 14:12:38 2011 -0500
peg: compilers return syntax instead of s-expressions
* module/ice-9/peg.scm (peg-sexp-compile, peg-string-compile): Return
syntax instead of s-expressions.
commit 4c1dc4ff083171c283a0e9846b1967edcb3cc7f9
Author: Noah Lavine <address@hidden>
Date: Sat Jan 29 14:07:49 2011 -0500
peg: beginnings of hygiene
* module/ice-9/peg.scm: Pass for-syntax argument to all of the
code-generating functions.
commit 9e671c30abb748ea154fbbd70ff98b1f7c4c45f9
Author: Noah Lavine <address@hidden>
Date: Sat Jan 29 13:42:32 2011 -0500
peg: more syntax-for-non-cache-case cleanups
* module/ice-9/peg.scm (syntax-for-non-cache-case): More cleanups.
commit d5f4dda7e82cde8f89f36374361f67b1f3cd9be4
Author: Noah Lavine <address@hidden>
Date: Sat Jan 29 13:36:41 2011 -0500
peg: clean up syntax-for-non-cache-case
* module/ice-9/peg.scm (syntax-for-non-cache-case): Cleanups.
commit b06bcc9e31a0abadb35671608eef13a9f9bf6746
Author: Noah Lavine <address@hidden>
Date: Sat Jan 29 13:30:48 2011 -0500
peg: use quasisyntax instead of safe-bind
* module/ice-9/peg.scm (syntax-for-non-cache-case): Use quasisyntax
instead of safe-bind.
commit 57ef44cbfdf10b2222af91a83f605dd2f8f1c76f
Author: Noah Lavine <address@hidden>
Date: Sat Jan 29 12:55:43 2011 -0500
peg: define-nonterm returns syntax instead of s-expression
* module/ice-9/peg.scm (define-nonterm, syntax-for-non-cache-case):
Returns syntax instead of an s-expression.
commit e443cc6af0ad36eedd35288e0d087c0474122bcd
Author: Noah Lavine <address@hidden>
Date: Sat Jan 29 12:40:37 2011 -0500
peg: split define-nonterm into two functions for better readability.
* module/ice-9/peg.scm (define-nonterm): Split for readability.
commit 2c20eed90a384aa71f7304f145087f12df949df4
Author: Andy Wingo <address@hidden>
Date: Thu Feb 17 13:28:37 2011 +0100
peg: add copyright header
* module/ice-9/peg.scm: Add copyright header.
commit 99b96fecb7b2bd19a3bbe7683014d761504754ab
Author: Michael Lucy <address@hidden>
Date: Mon Jul 5 00:28:16 2010 -0500
add PEG parser generator
* module/ice-9/peg.scm: New file.
* module/Makefile.am: Add to build.
* doc/ref/Makefile.am:
* doc/ref/api-peg.texi:
* doc/ref/guile.texi: Add documentation for PEG parser.
* test-suite/Makefile.am:
* test-suite/tests/peg.bench:
* test-suite/tests/peg.test: Add tests, and a benchmark.
-----------------------------------------------------------------------
hooks/post-receive
--
GNU Guile
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] GNU Guile branch, wip-mlucy, created. v2.0.0-42-gd537c4a,
Andy Wingo <=