Hi,

The attached code shows a lexer that can only lex non-negative integers.

What i am trying to do, is improve the script by adding code to lex negative numbers.

Any help would be greatly appreciated!

Results 1 to 1 of 1

- February 15th 2008, 01:35 PM #1

- Joined
- Dec 2007
- From
- UK
- Posts
- 23

## Lexers

Hi,

The attached code shows a lexer that can only lex non-negative integers.

What i am trying to do, is improve the script by adding code to lex negative numbers.

Any help would be greatly appreciated!