similar to: I'd like to translate the Kaleidoscope tutorial to D language, where should I ask for permission?

Displaying 20 results from an estimated 8000 matches similar to: "I'd like to translate the Kaleidoscope tutorial to D language, where should I ask for permission?"

2008 Apr 24
0
[LLVMdev] OCaml Kaleidoscope tutorial links to the C++ tutorial
The link to the next chapter in the navigation list at the top of this page of the OCaml Kaleidoscope tutorial goes to the C++ version: http://llvm.org/docs/tutorial/OCamlLangImpl3.html. The link to chapter 8 in the first chapter is broken: http://llvm.org/docs/tutorial/OCamlLangImpl1.html#intro. It links to the unvavailable page http://llvm.org/docs/tutorial/OCamlLangImpl8.html. I think it
2010 Jun 21
1
[LLVMdev] [PATCH] docs/tutorial/ Kaleidoscope typos
On Mon, 21 Jun 2010 15:31:57 -0500, Chris Lattner <clattner at apple.com> wrote: > Applied in r106468, thanks! > > -Chris I think there's a few bugs left in the Kaleidoscope tutorial -- I noticed somebody converted some of the "Builder.CreateAdd" to CreateFAdd, etc., but there seem to be a few that got missed. Attached diff is what I could find... Kevin Kelley
2008 Nov 13
0
[LLVMdev] Kaleidoscope tutorial and llvm 2.4
Hi all, being myself still a llvm novice I thought I'd do all fellow newbies a favor and provide a patch that makes the code in the tutorial compile with 2.4, just to avoid extra headache in the (not so easy) process of getting into the matters... it's actually just the new template parameters of the IRBuilder class. The patch is on the docs/ level since I didn't checkout the whole
2009 Oct 03
1
[LLVMdev] LLVM-Kaleidoscope tutorial
Good morning everyone, It seems the LLVM tutorial is not up to date anymore and doesn't compile as is... The function makeLLVMModule() function doesn't compile at all. Here is a fix: Module *makeLLVMModule() { // Caches the global context to share it with new Module() and IntegerType::get() calls LLVMContext &context = getGlobalContext(); // Module Construction
2010 Jun 03
2
[LLVMdev] [PATCH] docs/tutorial/ Kaleidoscope typos
Index: docs/tutorial/LangImpl6.html =================================================================== --- docs/tutorial/LangImpl6.html (revision 105365) +++ docs/tutorial/LangImpl6.html (working copy) @@ -531,7 +531,7 @@ def unary-(v) 0-v; -# Define &gt; with the same precedence as &gt;. +# Define &gt; with the same precedence as &lt;. def binary&gt; 10 (LHS RHS)
2010 Jun 21
0
[LLVMdev] [PATCH] docs/tutorial/ Kaleidoscope typos
Applied in r106468, thanks! -Chris On Jun 2, 2010, at 5:23 PM, Adam Warner wrote: > Index: docs/tutorial/LangImpl6.html > =================================================================== > --- docs/tutorial/LangImpl6.html (revision 105365) > +++ docs/tutorial/LangImpl6.html (working copy) > @@ -531,7 +531,7 @@ > def unary-(v) > 0-v; > > -# Define &gt; with
2013 Jul 04
1
[LLVMdev] Kaleidoscope Tutorial is Out of Date
I'm working thought the Kaleidoscope tutorials for LLVM 3.3 and noticed the code listing for chapter 4 is out of date on the web. Take a look at http://llvm.org/releases/3.3/docs/tutorial/LangImpl4.html. The first line includes llvm/DerivedTypes.h, but this does not compile. The correct path is llvm/IR/Derivedtypes.h. There are other differences, and the examples that I pulled along with
2019 Jan 12
2
LLVM header files for Kaleidoscope tutorial
I'm going through the Kaleidoscope tutorial, adding the codegen() functions: https://llvm.org/docs/tutorial/LangImpl03.html. I cannot find any discussion of header files to include, (other than the include of llvm/ADT/STLExtras.h in the lexer/parser code), and the compilation is failing due to several undefined symbols: LogErrorV, Value, LLVMContext, APFloat, and others. I've been hunting
2010 Jan 22
0
[LLVMdev] Kaleidoscope-tutorial: Fails to create the JIT
On Fri, Jan 22, 2010 at 1:56 PM, ALbert Mietus <albert at ons-huis.net> wrote: > Hello All > > I 'm studing LLVM/Clang and trying to follow the Kaleidoscope tutorial > (Release 2.6 version). > I found some minir docu-bugs and added them to Bugzilla. > > However, Now I found a show-stopper for me, the toy (v4) demo does > build, but does crash, on any input. Even a
2008 Dec 02
1
[LLVMdev] Kaleidoscope tutorial failed at Chapter 4...
Hi everyone. I am using LLVM 2.4 release to practise the tutorial at Kaleidoscope Chapter 4. I built the LLVM library, and created my own project, and then paste the code from the tutorial into my own project. Then after compiled and built it, I passed the built stage. (I am using visual studio 2005 ) However, when I tried to input some code in the command line window, the sample program crashed.
2014 Oct 21
2
[LLVMdev] Updating Kaleidoscope tutorial
Hi there, I've been working through the tutorial on using LLVM to implement a small language (http://llvm.org/docs/tutorial/index.html), and I noticed that the code in the tutorial is a bit out of sync with LLVM 3.5. I managed to get the code working, and it appears to even be working correctly. I'd like to help correct the tutorial so that other people can also benefit from the pain
2008 Dec 03
0
[LLVMdev] Kaleidoscope tutorial failed at Chapter 4...
Thank you very much for your idea, chuck Zhao. May I ask whether you have solved this problem or not? -- Best regards. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20081203/f53425e5/attachment.html>
2013 Jun 04
1
[LLVMdev] MCJIT and Kaleidoscope Tutorial
Hi Andrew, Am 04.06.2013 02:13, schrieb Kaylor, Andrew: > Hi Dmitri, > > You might want to try replacing the call to JMM->invalidInstructionCache() with a call to TheExecutionEngine->finalizeObject(). If you are getting a non-NULL pointer from getPointerToFunction but it crashes when you try to call it, that is most likely because the memory for the generated code has not been
2013 Jun 04
0
[LLVMdev] MCJIT and Kaleidoscope Tutorial
Am 04.06.2013 16:05, schrieb David Tweed: > | I am curious about JMM->invalidInstructionCache(), which I found in > | lli.cpp implementation. lli.cpp contains also call finalizeObject(), I > | just overlooked it. lli.cpp calls finalizeObject(), which calls > | applyPermissions, which in turn calls invalidateInstructionCache. So why > | lli.cpp does call
2013 Jun 04
1
[LLVMdev] MCJIT and Kaleidoscope Tutorial
Hi Dmitri, You're right. The lli code should be cleaned up. As David said, there was a time when the call to invalidate the instruction cache was necessary. It isn't necessary anymore. -Andy -----Original Message----- From: Dmitri Rubinstein [mailto:dmitri.rubinstein at googlemail.com] Sent: Tuesday, June 04, 2013 7:20 AM To: David Tweed Cc: Kaylor, Andrew; LLVM Dev Subject: Re:
2008 Apr 15
2
[LLVMdev] Bugs in Kaleidoscope tutorial code, and a bus error
I'm working through the Kaleidoscope tutorial through section 2.4, and I've encountered some problems: several minor bugs, and finally a bus error that has me stumped: ------- In the code listed in LLVM Tutorial section 2.2 Implementing a Parser and AST. Line 19 has a comma at the end of line that shouldn't be there Line 120 is missing a closing angle bracket. Line 120 should be
2013 Jun 04
0
[LLVMdev] MCJIT and Kaleidoscope Tutorial
Hi Dmitri, You might want to try replacing the call to JMM->invalidInstructionCache() with a call to TheExecutionEngine->finalizeObject(). If you are getting a non-NULL pointer from getPointerToFunction but it crashes when you try to call it, that is most likely because the memory for the generated code has not been marked as executable. That happens inside finalizeObject, which also
2010 Jan 22
3
[LLVMdev] Kaleidoscope-tutorial: Fails to create the JIT
Hello All I 'm studing LLVM/Clang and trying to follow the Kaleidoscope tutorial (Release 2.6 version). I found some minir docu-bugs and added them to Bugzilla. However, Now I found a show-stopper for me, the toy (v4) demo does build, but does crash, on any input. Even a simpe ';'! Looking into the (demo-code) found the that the JIT can't be build/ created,/loaded/... Which
2010 Jan 23
0
[LLVMdev] Kaleidoscope-tutorial: Fails to create the JIT
Look at what is in <llvm source root>/examples/Kaleidoscope/toy.cpp. This is the final version of the tutorial and worked the last time I played with 2.6. Garrison On Jan 23, 2010, at 12:21, ALbert Mietus wrote: > I ask for advice, for TheExecutionEngine === NULL, > >>> Which result's in a null-pointer for "TheExecutionEngine"; which >>> explains
2010 Jan 24
0
[LLVMdev] Kaleidoscope-tutorial: Fails to create the JIT
Change your g++ build to: g++ -g -O0 toy-example26.cpp -o toy-example26 `/Users/albert/NoTimeMachine/LLCM_Clang/llvm-trunk/BUILD/Debug/bin/llvm-config --cppflags --ldflags --libs core jit interpreter native` After you get this working, try it with the source interpreter include removed, and minus the above interpreter llvm-config addition. Garrison On Jan 23, 2010, at 18:55, ALbert Mietus