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
I found this library for your reddit thread, and decided to implement it into a toy language that I'm in the process of making. I was able to make it handle the printing of string literals, but when I tried to abstract it a bit more, I found that it was having trouble emitting code that printed the contents of variables.
I'm not sure if this is user error of if it's a bug in the API, but I wasn't really able to find any documentation past glances in the source, and from what I found that should work.
The text was updated successfully, but these errors were encountered:
I found this library for your reddit thread, and decided to implement it into a toy language that I'm in the process of making. I was able to make it handle the printing of string literals, but when I tried to abstract it a bit more, I found that it was having trouble emitting code that printed the contents of variables.
My code can be found at https://github.com/Redrield/ChocoLang/blob/experimental/src/main/kotlin/com/redrield/chocolang/codegen/LLVMIRGenerator.kt#L70 (That line is more associated with defining the variables).
I'm not sure if this is user error of if it's a bug in the API, but I wasn't really able to find any documentation past glances in the source, and from what I found that should work.
The text was updated successfully, but these errors were encountered: