Displaying 20 results from an estimated 40000 matches similar to: "[LLVMdev] ocaml LLVM bindings documentation"
2008 Mar 27
2
[LLVMdev] first two chapters for the ocaml bindings in svn
I've just committed the first two chapters of my ocaml llvm bindings
tutorial by porting the Kaleidoscope tutorial to ocaml. These chapters
are the lexer and parser. If anyone is interest in trying it out, I'd
love any feedback. If you've got the svn trunk checked out, you'll
find the docs here:
docs/tutorial/OCamlLangImpl1.html
docs/tutorial/OCamlLangImpl2.html
If not, you can
2008 Mar 27
0
[LLVMdev] first two chapters for the ocaml bindings in svn
On Mar 27, 2008, at 04:30, Erick Tryzelaar wrote:
> I've just committed the first two chapters of my ocaml llvm bindings
> tutorial by porting the Kaleidoscope tutorial to ocaml. These chapters
> are the lexer and parser. If anyone is interest in trying it out, I'd
> love any feedback. If you've got the svn trunk checked out, you'll
> find the docs here:
>
>
2010 Jul 26
0
[LLVMdev] Status of ocaml bindings
On Mon, Jul 26, 2010 at 10:15 AM, Jason Johnson
<jason.johnson.081 at gmail.com> wrote:
> Hello list,
>
> Since reading the kaleidoscope tutorial I have decided to play around with creating a language I've had in the back of my mind for some time. I would prefer not to write the front end in c or c++ though if it can be avoided. I read online that the ocaml bindings are
2010 Jul 26
2
[LLVMdev] Status of ocaml bindings
Hello list,
Since reading the kaleidoscope tutorial I have decided to play around with creating a language I've had in the back of my mind for some time. I would prefer not to write the front end in c or c++ though if it can be avoided. I read online that the ocaml bindings are distributed with llvm but are not always as up to date as the c or c++ bindings. Is this (still) the case? Is
2012 Sep 07
0
[LLVMdev] OCaml bindings broken in trunk
The linking issue is a recent breakage.
I traced it back to r163175. Basically LLVMConstInlineAsm() got an
additional parameter, but the C headers and the OCaml bindings were not
updated accordingly.
About the miscompilations, can you provide further details?
Nuno
----- Original Message -----
> I've recently upgraded my project-local copy of LLVM from 3.1svn to the
> latest
2012 Sep 07
2
[LLVMdev] OCaml bindings broken in trunk
I've recently upgraded my project-local copy of LLVM from 3.1svn to the latest 3.2svn, and all hell broke loose in my attempts to build OCaml projects.
Trying to narrow it down, I tried testing examples/OCaml-Kaleidoscope and eventually test/Bindings, only to discover that literally nothing in the repository which uses the OCaml bindings seems to build in the current trunk:
-
2012 Sep 10
1
[LLVMdev] OCaml bindings broken in trunk
On Sep 10, 2012, at 3:34 PM, Bob Wilson wrote:
> Didn't Benjamin already fix this in svn 163502?
Looks that way..
> On Sep 10, 2012, at 10:08 AM, Chad Rosier <mcrosier at apple.com> wrote:
>
>>
>> On Sep 7, 2012, at 3:40 PM, Nuno Lopes wrote:
>>
>>> The linking issue is a recent breakage.
>>> I traced it back to r163175. Basically
2012 Sep 10
0
[LLVMdev] OCaml bindings broken in trunk
Didn't Benjamin already fix this in svn 163502?
On Sep 10, 2012, at 10:08 AM, Chad Rosier <mcrosier at apple.com> wrote:
>
> On Sep 7, 2012, at 3:40 PM, Nuno Lopes wrote:
>
>> The linking issue is a recent breakage.
>> I traced it back to r163175. Basically LLVMConstInlineAsm() got an additional parameter, but the C headers and the OCaml bindings were not updated
2012 Sep 10
2
[LLVMdev] OCaml bindings broken in trunk
On Sep 7, 2012, at 3:40 PM, Nuno Lopes wrote:
> The linking issue is a recent breakage.
> I traced it back to r163175. Basically LLVMConstInlineAsm() got an additional parameter, but the C headers and the OCaml bindings were not updated accordingly.
r163175 was my change. I'm not familiar with the OCaml project. If I'm responsible for updating said C headers/OCaml bindings, would
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
2008 Mar 28
0
[LLVMdev] Python bindings?
On Fri, Mar 28, 2008 at 12:00 AM, Mahadevan R <mdevan.foobar at gmail.com> wrote:
> 1)
> Are the C bindings complete? That is, is there some part of the C++ API
> that is not exposed by the C API?
Nope, there's still a lot that's not done. Patches are always welcome
:) We've got enough in subversion to implement the Kaleidoscope
tutorial though.
> 2)
> Do
2010 Nov 14
0
[LLVMdev] Problem building Ocaml Kaleidoscope example
Hi,
The Ocaml Kaleidoscope tutorial code stops compiling at chapter 3. I get
$ ocamlbuild toy.byte
Finished, 1 target (0 cached) in 00:00:00.
+ /usr/bin/ocamlc -c -o codegen.cmo codegen.ml
File "codegen.ml", line 5, characters 0-9:
Error: Unbound module Llvm
This is with Llvm 2.7 on ubuntu 10.10. I have the package
libllvm-ocaml-2.7-dev installed.
The offending line is simply
open
2012 Dec 23
0
[LLVMdev] LLVM-C bindings tutorial?
I am just about to start a toy project with llvm through the C bindings and
would like to know if there are any up to date tutorials for the C bindings
specifically. I would like to learn from something like the Kaleidoscope
tutorials but with in C. I know the ocaml version of that tutorial uses the
C bindings but i dont want to learn enough ocaml just so i can figure out
how the current llvm c
2008 Mar 31
0
[LLVMdev] first two chapters for the ocaml bindings in svn
The full series of the ocaml tutorial is done! You can find it here:
http://llvm.org/docs/tutorial/
Please let me know if you have any comments, bugs, suggestions, and
etc. I'll send a mail to the ocaml mailing list tomorrow to drum up
some interest from the other ocaml users.
2008 Dec 31
0
[LLVMdev] llvm ocaml bindings
Hi,
thanks Chris and Gordon for the fantasic infrastructure and ocaml
bindings and Erick for the prompt response!
I'm looking to use LLVM to write program analyses for
C/C++ programs, but to use Ocaml to write the analyses.
I did see there were bindings for iterating over:
* functions in a module [iter_functions]
* basic blocks in a functions [iter_blocks]
* instructions in a block
2007 Nov 25
0
[LLVMdev] OCaml bindings
On Sunday 25 November 2007 20:01, Gordon Henriksen wrote:
> On Nov 25, 2007, at 11:49, Jon Harrop wrote:
> > On Sunday 25 November 2007 12:23, Gordon Henriksen wrote:
> >> If ocamlc is on your path, then 'configure; make; make install'
> >> should install the bindings in your ocaml lib.
> >
> > Right. I hadn't noticed they were already installed
2008 Sep 20
2
[LLVMdev] first two chapters for the ocaml bindings in svn
On Monday 31 March 2008 09:56:45 Erick Tryzelaar wrote:
> The full series of the ocaml tutorial is done! You can find it here:
>
> http://llvm.org/docs/tutorial/
>
> Please let me know if you have any comments, bugs, suggestions, and
> etc. I'll send a mail to the ocaml mailing list tomorrow to drum up
> some interest from the other ocaml users.
I think your new OCaml
2007 Nov 25
1
[LLVMdev] OCaml bindings
On Nov 25, 2007, at 11:49, Jon Harrop wrote:
> On Sunday 25 November 2007 12:23, Gordon Henriksen wrote:
>
>> If ocamlc is on your path, then 'configure; make; make install'
>> should install the bindings in your ocaml lib.
>
> Right. I hadn't noticed they were already installed after llvm "make
> install" in:
>
> /usr/local/lib/ocaml/
2010 Feb 16
3
[LLVMdev] LLVM-OCaml Bindings Tutorial (2.6-2.7)
Attached are updated LLVM-OCaml Bindings Tutorial from Chris Wailes.
(http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-April/021804.html)
We changed them to work with the latest APIs(LLVM2.6 and the latest
LLVM from SVN).
Does anyone know if there is any realistic project using LLVM-OCaml
Bindings? How is the performance?
Jianzhou
-------------- next part --------------
A non-text attachment was
2008 Dec 30
2
[LLVMdev] llvm ocaml bindings
(ccing llvmdev) Hi Ranjit! I only ported Chris's tutorial and Gordon
did the vast majority of the bindings, so they deserve most of the
praise. I believe there are techniques for walking over the CFG. You
can load up code using Llvm_bitreader, use things like
Llvm.iter_globals, Llvm.iter_functions, and Llvm.iter_instrs to walk
over the module, and write out a new llmodule using