Displaying 2 results from an estimated 2 matches for "exprastnode".
2007 Nov 05
0
[LLVMdev] 'Implementing a language with LLVM' tutorial
...t comment."
Shouldn't this say "returning the next comment"?
http://llvm.org/docs/tutorial/LangImpl2.html
I was a bit confused at first because the AST node classes are called
ASTs. Instead of saying "ExprAST node" all the time, who not just call
the class ExprNode or ExprAstNode?
http://llvm.org/docs/tutorial/LangImpl3.html
case '<':
L = Builder.CreateFCmpULT(L, R, "multmp");
Should this be something like "cmptmp"?
Also, you mention zero-argument functions, but it doesn't look like
you can parse function calls with zero arguments....
2007 Nov 05
5
[LLVMdev] 'Implementing a language with LLVM' tutorial
On Mon, 5 Nov 2007, Aaron Gray wrote:
>> Anyone have thoughts or feedback? :)
>
> Nice job. The only bit that is not immediately clear is the 'Proto'
> variable, but is clear when looking through the code at the end of the page.
Where in the tutorial? What would you suggest that I say?
> Could do with a link to the LLVMBuilder class reference material.
I added a link