Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Distinguish between various integer literal types #385

Open
jyn514 opened this issue Apr 27, 2020 · 0 comments
Open

Distinguish between various integer literal types #385

jyn514 opened this issue Apr 27, 2020 · 0 comments
Labels
enhancement New feature or request lexer Issue dealing with parsing the lexical tokens of a program parser Issue to do with parsing the abstract syntax tree

Comments

@jyn514
Copy link
Owner

jyn514 commented Apr 27, 2020

Expanded form of #4.

Right now the only literal types are char, u64 (unsigned long or unsigned int depending on the platform), and i64 (long or int). The C standard requires supporting up to unsigned long long and everything in between: http://port70.net/~nsz/c/c11/n1570.html#6.4.4.1

Fixing this will require delaying literal parsing until type checking (#384).

@jyn514 jyn514 added enhancement New feature or request lexer Issue dealing with parsing the lexical tokens of a program parser Issue to do with parsing the abstract syntax tree labels Apr 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request lexer Issue dealing with parsing the lexical tokens of a program parser Issue to do with parsing the abstract syntax tree
Projects
None yet
Development

No branches or pull requests

1 participant