Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] <lexer.c:273:tokens_scan> Unexpected token '0.3924.4282' #1

Open
BaseMax opened this issue May 22, 2021 · 2 comments
Open

[Error] <lexer.c:273:tokens_scan> Unexpected token '0.3924.4282' #1

BaseMax opened this issue May 22, 2021 · 2 comments

Comments

@BaseMax
Copy link

BaseMax commented May 22, 2021

[max@workstation Algi]$ ./a.out tests/test2.algi

[Debug] <main.c:30:read_whole_file> Buffer allocated of length 306 bytes
[Info] <timer.c:21:timer_start> Started Lexing

[Error] <lexer.c:273:tokens_scan> Unexpected token '0.3924.4282'
<line 13>	Set bad = 0.3924.4282
            	          ~~~~~~~~~~~

[Info] <timer.c:11:timer_end> Lexing finished in 0.000036 seconds

[Error] <main.c:90:main> 1 errors occurred while lexing!
[Error] <main.c:92:main> Press C to abort : 
@BaseMax
Copy link
Author

BaseMax commented May 22, 2021

Thanks, /tests/type2/hlw.algi works as well.
$ ./a.out tests/type2/hlw.algi

No plan to generate object file at final step?

@iamsubhranil
Copy link
Owner

Not really, no. I was just trying to implement JIT using LLVM without getting into much harder parts of the architecture by the means of using something resembling type inference without even knowing a whole lot about it. I've since moved on to other projects, but I'm glad to see it sparkled some interest.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants