[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GMP parser
From: |
Kevin Ryde |
Subject: |
Re: GMP parser |
Date: |
30 Apr 2001 08:41:11 +1000 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5 |
Hans Aberg <address@hidden> writes:
>
> Note that in the calclex.l file, one do a table binary search, as it is
> sorted -- it is of course of no practical importance with such a small
> table.
Yes, and the program aims to be a demo, so it just tries to be as
simple as possible.
> The straightforward
> "abs" { return ABS; }
> "bin" { return BIN; }
> ...
> is probably also much faster, as Flex should translate it into a one
> character look-ahead NFA.
I think I wanted to lex out a whole word, so for instance "hexx" would
be an error, rather than "hex" followed by "x". Of course in a
different calculator perhaps the latter would be wanted.
- Re: GMP compiled under MacOS/C++ wrap, (continued)
- Re: GMP compiled under MacOS/C++ wrap, Kevin Ryde, 2001/04/25
- Re: GMP compiled under MacOS/C++ wrap, Hans Aberg, 2001/04/26
- GMP MacOS PPC assembler, Hans Aberg, 2001/04/26
- Re: GMP MacOS PPC assembler, Linus Nordberg, 2001/04/26
- Re: GMP MacOS PPC assembler, Hans Aberg, 2001/04/26
- Re: GMP MacOS PPC assembler, Torbjorn Granlund, 2001/04/27
- Re: GMP MacOS PPC assembler, Hans Aberg, 2001/04/27
- Re: GMP MacOS PPC assembler, Kevin Ryde, 2001/04/29
- Re: GMP MacOS PPC assembler, Hans Aberg, 2001/04/30
- GMP parser, Hans Aberg, 2001/04/26
- Re: GMP parser,
Kevin Ryde <=
- Re: GMP parser, Hans Aberg, 2001/04/30
- GMP C++ wrap, Hans Aberg, 2001/04/25
- GMP Inputs, Hans Aberg, 2001/04/25
- Re: GMP Inputs, Kevin Ryde, 2001/04/25
- Re: GMP Inputs, Hans Aberg, 2001/04/26
GMP ceil/floor/trunc, Hans Aberg, 2001/04/24