[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GSOC PEG project
From: |
Ludovic Courtès |
Subject: |
Re: GSOC PEG project |
Date: |
Tue, 06 Jul 2010 00:40:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi!
Thanks for the status report!
Michael Lucy <address@hidden> writes:
> Files I've added so far:
> guile/modules/ice-9/peg.scm (I assume this is the right place to put this?)
No, it should rather go under ‘module/language/peg.scm’, for the sake of
consistency with other compiler front-ends. But see below.
> PEG compiler: Works for all the grammars I've tested, no known bugs.
> Currently compiles to Scheme code rather than Tree-IL for debugging.
It should rather compiler to tree-IL, like other front-ends, which is
very close to Scheme anyway.
> 2. Tests aren't standardized (peg.test looks nothing like the other
> .test files).
Well, you know what to do then. ;-)
> 3. This:
>
> scheme@(guile-user)> (use-modules (ice-9 peg))
> ;;; note: source file /home/zededarian/guile/module/ice-9/peg.scm
> ;;; newer than compiled
> /home/zededarian/guile/cache/guile/ccache/2.0-0.R-LE-4/home/zededarian/guile/module/ice-9/peg.scm.go
> ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0
> ;;; or pass the --no-autocompile argument to disable.
> ;;; compiling /home/zededarian/guile/module/ice-9/peg.scm
> ;;; WARNING: compilation of /home/zededarian/guile/module/ice-9/peg.scm
> failed:
> ;;; key wrong-type-arg, throw args ("vm-debug-engine" "Wrong type to
> apply: ~S" (#f) (#f))
>
> Somehow it works fine despite the warnings. Can anybody shed light on
> what this means?
Actually it doesn’t work. Try:
$ ./meta/guile --no-autocompile
> (use-modules (ice-9 peg))
It should trigger the debugger from where you can get a backtrace.
Thanks,
Ludo’.
- GSOC PEG project, Michael Lucy, 2010/07/05
- Re: GSOC PEG project,
Ludovic Courtès <=
- Re: GSOC PEG project, Michael Lucy, 2010/07/05
- Re: GSOC PEG project, Andy Wingo, 2010/07/09
- Re: GSOC PEG project, Michael Lucy, 2010/07/11
- Re: GSOC PEG project, Andy Wingo, 2010/07/17
- Re: GSOC PEG project, Ludovic Courtès, 2010/07/17
- Re: GSOC PEG project, Andy Wingo, 2010/07/18
Re: GSOC PEG project, Andy Wingo, 2010/07/08