You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D:\Programming\CheezLang\CompilerLibrary\Compiler.cs:308 - ParseFile()
E:\ProjetosE\publish\Hello.che:1:1: This type of statement is not allowed in global scope
1> io :: import std.io
^———————————
2>
Hi, I'm suprised someone tried this project out :) I haven't worked on this in a few months. It looks like you used a prebuilt version from the releases page (so 0.4.0 I guess). This version is not up to date with the newest language changes, in fact there's more than a year of progress that's happened after I uploaded that version, so if you take code examples from the README and try to compile them using this version it won't work. I can upload a new release with the newest compiler version which should hopefully work, but I left the project in a messy state so it might take me a few hours.
A great job you've done so far. I hope you don't give up. Good work will always be found and explored on Github. I hope that I will be able to upload and publish a new working version as soon as possible so that you can learn more about the language and develop a program using it. I wait for this new version Thank you. great job.
Dear,
I'm trying to make a compilation of a simple HelloWorld program and it gives the error. what is missing to make the .exe compilation?
io :: import std.io
fn Main() {
println("Hello World.")
}
output:
E:\ProjetosE\publish>cheezc.exe Hello.che
--int E:\ProjetosE\publish\int --name Hello --out E:\ProjetosE\publish --subsystem console Hello.che
D:\Programming\CheezLang\CompilerLibrary\Parsing\Parser.cs:335 - ParseStatement()
E:\ProjetosE\publish\Hello.che:1:14: Expected newline after statement
1> io :: import std.io
^——
2>
D:\Programming\CheezLang\CompilerLibrary\Compiler.cs:308 - ParseFile()
E:\ProjetosE\publish\Hello.che:1:1: This type of statement is not allowed in global scope
1> io :: import std.io
^———————————
2>
D:\Programming\CheezLang\CompilerLibrary\SemanticAnalysis\TypeInference.cs:3470 - InferTypesIdExpr()
E:\ProjetosE\publish\Hello.che:4:5: Unknown symbol 'println'
3> fn Main() {
E:\ProjetosE\publish> World.")
The text was updated successfully, but these errors were encountered: