[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] silex command line documentation
From: |
Brandon J. Van Every |
Subject: |
Re: [Chicken-users] silex command line documentation |
Date: |
Sat, 13 May 2006 11:49:44 -0700 |
User-agent: |
Thunderbird 1.5.0.2 (Windows/20060308) |
Kon Lovett wrote:
On May 13, 2006, at 10:25 AM, Brandon J. Van Every wrote:
Kon Lovett wrote:
On May 13, 2006, at 1:37 AM, Brandon J. Van Every wrote:
<snip>
See the source code section labeled 'Decoupage des arguments'; what
you want is the option 'fileout'.
Does it not understand pathnames, or Windows pathnames?
Brandon J. Van address@hidden ~/msys/chicken
$ silex filein E:/devel/src/chicken/easyffi.l fileout
E:/devel/msys/chicken/easyffi.l.silex counters none
Lex error:
filein: unrecognized option "E:/devel/src/chicken/easyffi.l".
In my copy:
What copy of silex are you using? I am compiling Chicken's silex.scm
into silex.exe and then using it as part of the Chicken bootstrap
build. If there are other silex's floating around, perhaps it doesn't
track other people's improvements, functionality, and documentation?
For instance, if I type "silex" I get:
Brandon J. Van address@hidden ~/msys/chicken
$ silex
Copyright (C) 1997 Danny Dube', Universite' de Montre'al.
All rights reserved.
SILex 1.0.
Usage: silex FILENAME [OPTION ...]
Reads a syntax definition from FILENAME.l and generates
a lexical analyzer named FILENAME.l.scm. For a list of
options, see the SILex manual.
Don't state the keywords filein/fileout:
silex E:/devel/src/chicken/easyffi.l [<table-name>]
E:/devel/msys/chicken/easyffi.l.silex counters
This doesn't work. It appears to be reading both files as inputs? I get:
Brandon J. Van address@hidden ~/msys/chicken
$ make
Linking C shared library libchicken.dll
Creating library file: libchicken.dll.a
Generating easyffi.c
Warning: illegal declaration specifier `(disable-warning var)'
Error: (open-input-file) during expansion of (include ...) - can not
open file - No such file or directory: "easyffi.l.silex"
Call history:
<eval> (match-error-control unspecified:) <--
make[2]: *** [easyffi.c] Error 70
make[1]: *** [CMakeFiles/chicken.dir/all] Error 2
make: *** [all] Error 2
Also, 'none' is not in "lex-recognized-args".
But "counters" is. I thought it was looking for "counters none" or
"-counters none". "counters none" is in the Chicken Makefile.am at any
rate.
Felix, your thumbprint is on this code. You wrote:
;;;; silex-standalone.scm - Driver program for standalone version of
SILex - felix
So, HELP!!!
Cheers,
Brandon Van Every