Initial rules for decimal support #700

Closed
wants to merge 8 commits into
from

Conversation

Projects
None yet
3 participants
@Oldes
Contributor

Oldes commented Feb 28, 2014

Adding initial rules for decimal support into the lexer. With this change, decimal number is transcoded to integer.

@Oldes

This comment has been minimized.

Show comment Hide comment
@Oldes

Oldes Mar 2, 2014

Contributor

current version, with the decimal/init call crashes, when I run console with error:

*** Runtime Error 1: access violation
*** in file: symbol.reds
*** at line: 27

so there must be something wrong or missing.

Contributor

Oldes commented Mar 2, 2014

current version, with the decimal/init call crashes, when I run console with error:

*** Runtime Error 1: access violation
*** in file: symbol.reds
*** at line: 27

so there must be something wrong or missing.

@dockimbel dockimbel closed this Mar 3, 2014

@iArnold

This comment has been minimized.

Show comment Hide comment
@iArnold

iArnold Mar 3, 2014

Contributor

David, Line 220 of the lexer, do you accept decimal numbers of the form .5e2 ?
To me it looks like you are on the right way with this, going to dive deeper into this.

Contributor

iArnold commented Mar 3, 2014

David, Line 220 of the lexer, do you accept decimal numbers of the form .5e2 ?
To me it looks like you are on the right way with this, going to dive deeper into this.

@Oldes

This comment has been minimized.

Show comment Hide comment
@Oldes

Oldes Mar 3, 2014

Contributor

@iArnold .5e2 was properly recognized. But as I'm not able to do int-to-float conversion, I will not move it much farther. Also my free time window is closed again as this pull request.

Contributor

Oldes commented Mar 3, 2014

@iArnold .5e2 was properly recognized. But as I'm not able to do int-to-float conversion, I will not move it much farther. Also my free time window is closed again as this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment