geraldstanje

Results 139 comments of geraldstanje

no its for pyqt5 if someone is interested in...

how about an irc channel #golearn on freenode?

can you generate good error messages if the syntax of the cool source is not correct?

any updates on error handling? how would you implement preprocessor commands like #ifdef or #include ?

where do you store variable declarations within functions/methods?

Sorry for the unclear question. I was saying you need to implement a stack for local variable declarations within functions... so you traverse the AST and push the variable on...

can you give me some feedback to my toy compiler? https://github.com/geraldstanje/toycompiler i would also like to add function, if statements and variables ... im not sure how to implement scoping...any...

about the design of the toy compiler...i still need to add proper testing and split into packages... so i would best add the scoping into https://github.com/geraldstanje/toycompiler/blob/master/codegen.go and add FuncCallNode, IfNode,...

ok, i don't refer to cool :) so for the variable a in foo I would need to lookup the varDecl in the prev scope?

hi, i fixed the build for rust nightly. please merge.