Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] OCaml LLVM tutorial"
2010 Mar 01
2
[LLVMdev] Tag number of OCaml Variant in executionengine
Another quick question.
In ./bindings/ocaml/Makefile.ocaml, the configurations when
ENABLE_OPTIMIZED<>1 are commented, which set -g flag to $(OCAMLC).
Is that for back-compatibility to support OCaml < 3.10.0?
On Sun, Feb 28, 2010 at 6:48 PM, Erick Tryzelaar
<idadesub at users.sourceforge.net> wrote:
> On Sun, Feb 28, 2010 at 8:38 AM, Jianzhou Zhao <jianzhou at
2010 Feb 16
2
[LLVMdev] LLVM-OCaml Bindings Tutorial (2.6-2.7)
On Mon, Feb 15, 2010 at 11:47 PM, Jon Harrop <jon at ffconsultancy.com> wrote:
> There are at least two other significant users of LLVM's OCaml bindings,
> AFAIK.
I'm writing an llvm backend/repl for felix, but it's pretty early.
> My only gripe with LLVM's OCaml bindings is the way an error caught on the
> LLVM side causes my program to die in a way that the
2009 Apr 22
2
[LLVMdev] LLVM OCaml Tutorial
>
> I'm happy to apply any patches :) Even better if you wanted to extend
> the tutorial to support things like garbage collection.
As I go along in my project and explore these features I might be willing to
produce code for additional chapters but I don't think I have time to
dedicate to it now.
What was the problem? I just tested it out on fedora 10 and it worked
> after
2010 Mar 05
0
[LLVMdev] Last chance to get anything into llvm-c and ocaml bindings
Erick Tryzelaar <erick.tryzelaar <at> gmail.com> writes:
>
> I've pretty much finished exposing all I wanted to llvm-c and the
> ocaml bindings for the soon to be released 2.7. Does anyone need any
> other functions exposed before the code freeze on the 7th?
>
Hi Erick,
Can you make the following functions available in llvm-c.
createStandardFunctionPasses
2009 Apr 21
0
[LLVMdev] LLVM OCaml Tutorial
2009/4/13 Chris Wailes <chris.wailes at gmail.com>:
> I'm currently going through the LLVM OCaml bindings tutorial in preparation
> for using LLVM in my own project. While the tutorial is very helpful, it
> was somewhat hard to start due to the fact that I plan on using ocamllex and
> ocmalyacc and the tutorial hand rolls their own lexer and parser.
>
> I have managed
2010 Feb 19
0
[LLVMdev] ocaml survey
On Feb 18, 2010, at 12:51, Erick Tryzelaar wrote:
>
> I'm in the process of finishing up the ocaml llvm bindings, and I had
> some last minute questions before we code freeze:
>
> 1. What version of ocaml is everyone using, and how old of an ocaml
> version do you need to support?
Still using OCaml 3.11.1, but will but upgrading to OCaml 3.11.2 around the same time as the
2010 Mar 02
1
[LLVMdev] Tag number of OCaml Variant in executionengine
On Tue, Mar 2, 2010 at 3:23 AM, Erick Tryzelaar
<idadesub at users.sourceforge.net> wrote:
> On Mon, Mar 1, 2010 at 7:34 AM, Jianzhou Zhao <jianzhou at seas.upenn.edu> wrote:
>> Another quick question.
>> In ./bindings/ocaml/Makefile.ocaml, the configurations when
>> ENABLE_OPTIMIZED<>1 are commented, which set -g flag to $(OCAMLC).
>> Is that for
2010 Feb 28
1
[LLVMdev] C Compiler written in OCaml, Pointers Wanted
On Wednesday 24 February 2010 13:26:33 Jianzhou Zhao wrote:
> On Wed, Feb 24, 2010 at 7:10 AM, Jon Harrop <jon at ffconsultancy.com> wrote:
> > On Wednesday 24 February 2010 03:58:03 Jianzhou Zhao wrote:
> >> I think LLVM OCaml bindings do not support JIT too much.
> >
> > Can you elaborate on this?
>
> I meant the OCaml bindings let OCaml call existing
2008 Mar 04
0
[LLVMdev] [PATCH] Cleanup the c and ocaml binding documentation.
Hi Erick,
Thanks, this looks good. Can you please resubmit this patch, and the
others, as an attachment?
On Mar 4, 2008, at 03:19, Erick Tryzelaar wrote:
> ---
> bindings/ocaml/llvm/llvm.ml | 2 +-
> bindings/ocaml/llvm/llvm.mli | 2 +-
> bindings/ocaml/llvm/llvm_ocaml.c | 2 +-
> include/llvm-c/Core.h | 32 ++++++++++++++++++
> +-------------
2010 Feb 28
0
[LLVMdev] Tag number of OCaml Variant in executionengine
On Sun, Feb 28, 2010 at 8:38 AM, Jianzhou Zhao <jianzhou at seas.upenn.edu> wrote:
> Hi,
>
> At the code below from
> ./bindings/ocaml/executionengine/executionengine_ocaml.c,
> we create an OCaml Variant from C. It is from 2.6, the latest 2.7 has
> the same code.
>
> Line 240 Option = alloc(1, 1) assigns tag1 to the 'some' constructor.
> In term of
2010 Feb 18
6
[LLVMdev] ocaml survey
I'm in the process of finishing up the ocaml llvm bindings, and I had
some last minute questions before we code freeze:
1. What version of ocaml is everyone using, and how old of an ocaml
version do you need to support?
2. Would it be alright if I renamed some functions? Module providers
are being removed for 2.7. I can keep the old functions around, but
I'd prefer to keep the API clean.
2010 Feb 28
2
[LLVMdev] Tag number of OCaml Variant in executionengine
Hi,
At the code below from
./bindings/ocaml/executionengine/executionengine_ocaml.c,
we create an OCaml Variant from C. It is from 2.6, the latest 2.7 has
the same code.
Line 240 Option = alloc(1, 1) assigns tag1 to the 'some' constructor.
In term of http://caml.inria.fr/pub/docs/manual-ocaml/manual032.html,
I think the 'some' should have a tag 0. We dont have a runtime error
for
2010 Feb 18
0
[LLVMdev] ocaml survey
On Thursday 18 February 2010 20:51:40 Erick Tryzelaar wrote:
> I'm in the process of finishing up the ocaml llvm bindings, and I had
> some last minute questions before we code freeze:
>
> 1. What version of ocaml is everyone using, and how old of an ocaml
> version do you need to support?
I'm on OCaml 3.11.1 but I have no preferences.
> 2. Would it be alright if I
2010 Aug 15
4
[LLVMdev] Ocaml bindings in 2.8
Hi,
Does 2.8 release plan to change anything in Ocaml bindings?
http://llvm.org/docs/ReleaseNotes.html#whatsnew does not list any
relevant features.
2.7 added 'operand' that can access each operand from a value.
external operand : llvalue -> int -> llvalue = "llvm_operand"
Does this binding also expose a primitive to return how many operands
a given value has?
I need
2007 Oct 04
0
[LLVMdev] using "ocamlc -where" to find ocaml c headers
On Oct 3, 2007, at 01:28, Erick Tryzelaar wrote:
> I've got ocaml installed in a non-standard location, and while the
> svn version of llvm seems to detect my ocaml binaries, it doesn't
> seem add "ocamlc -where" to the c include search path. This causes
> bindings/ocaml/llvm/llvm_ocaml.c to error out unless I run "make
> CFLAGS=`ocamlc -where`".
2010 Aug 17
0
[LLVMdev] Ocaml bindings in 2.8
Hello Jianzhou,
On Sat, Aug 14, 2010 at 8:25 PM, Jianzhou Zhao <jianzhou at seas.upenn.edu> wrote:
> Hi,
>
> Does 2.8 release plan to change anything in Ocaml bindings?
> http://llvm.org/docs/ReleaseNotes.html#whatsnew does not list any
> relevant features.
I usually wait until around nowish before a release to sync llvm-c and
the ocaml bindings. I'll start the process.
2010 Mar 05
0
[LLVMdev] Last chance to get anything into llvm-c and ocaml bindings
On Mar 3, 2010, at 20:44, Erick Tryzelaar wrote:
>
> I've pretty much finished exposing all I wanted to llvm-c and the
> ocaml bindings for the soon to be released 2.7. Does anyone need any
> other functions exposed before the code freeze on the 7th?
Oh hey... I remember now. There is one thing I probably won't get around to doing myself until after the code freeze.
(*
2008 Feb 21
0
[LLVMdev] llvm 2.2 install and ocaml bindings
Erick,
I see the problem. The llvm-config linker options are baked into the
ocaml library, which is good. But for the execution engine, that link
line includes the full paths to some .o files. Those paths come from
llvm-config, and they vary before and after installation. (Before
install, they point into the source tree as you're seeing.) You could
theoretically get working
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 Mar 04
4
[LLVMdev] Last chance to get anything into llvm-c and ocaml bindings
I've pretty much finished exposing all I wanted to llvm-c and the
ocaml bindings for the soon to be released 2.7. Does anyone need any
other functions exposed before the code freeze on the 7th?