hi guys,
thought this may interest some:
http://www.ivorykite.com/ly.html
ta, jack.
___
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison
>
> 1>-- Build started: Project: parser, Configuration: Debug Win32 --
> 1>[BISON][MyParser] Building parser with bison 2.4.1
> 1>m4: cannot open `Files\GnuWin32/share/bison': No such file or directory
> 1>m4: cannot open `C:\Program': No such file or directory
> 1>m4: cannot open `Fil
> Hi, I am using bison-2.4.1 for Windows. I have it already installed
> in C:\Archivos de programa\GnuWin32\I'm trying to compile with Bison
[snip]
> m4: cannot open ‘de’: No such file or directory
install bison to a directory with no spaces. eg: c:\local\...
ta, jack
hi guys,
in the context of a C like language, how do i parse/lex a signed
literal? eg: "-1". (speech marks excluded)
in the lexer, i can't tell if we're in an expression eg: "2-1" or
if we're in assigment: "int x=-1". i've studied the freely available
C grammar for hints, but can't find an a
> one for the back end. So i will need two parsers in the same program
> but there will be a conflict between the function names as with the global
> variables.
see -p
___
help-bison@gnu.org http://lists.gnu.org/mailman/listinfo/help-bison
hi guys,
in the typical calculator example that allows statements like:
a=2+3
it is fairly easy to parse and interpret code like
b=a+1
but what if you could assign '+' to a variable:
p=+
now that a variable could be an number or an operator, it's hard to parse
eg. how can i parse string "a p b"