Hi,
> Hm, and maybe he is actually doing such a homework? :-)
>
Well, I'm doing it fun mainly. I'd like to experiment with JIT
compiled code. Is it possible to get an answer on my previous comment?
:)
Thanks in advance!
BR,
Ilyes Gouta.
___
help-bis
El sáb, 13-10-2007 a las 11:06 +0200, [EMAIL PROTECTED] escribió:
> It's a typical homework assignment for people
> studying computer science.
Hm, and maybe he is actually doing such a homework? :-)
Claudio
--
Claudio Saavedra <[EMAIL PROTECTED]>
___
Hi Laurence,
> It's up to you. I don't think it's a good idea to use different types for
> the semantic value of a single symbol; `expr', in your example. Does this
> work? It wouldn't have occurred to me to try it.
It barely works. So are you suggesting that I keep a unified set of
rules and
> I'm new to Bison. I'm writing an interpreter for a lightweight C-like
> language using flex and bison. My language has to support the *two*
> types *int* and *float* used by the identifiers.
>
> My question is, do I have to write separate rules for both types in my
> .y file, where each set of ru