search for: frankwhite1003

Displaying 7 results from an estimated 7 matches for "frankwhite1003".

2013 Apr 24
3
[LLVMdev] Dynamic Type Lookup ...
Hello everyone, I would like to implement functionality something like the following in my sample language..... class A { Object attrA1 } class B { int attrB1 bool method methTestB ( .... ) } main () { bool test Object a a = new Class A() a.attr1 = new Class B() a.attrB1 = 5 test = a.methTestB(...) } I assume that I will need: - some type of runtime lookup table to store
2013 Apr 25
1
[LLVMdev] Dynamic Type Lookup ...
...s type of call is valid in a language like Python. Are there any references out there that would help me implement something like this? thanks, frank On Thu, Apr 25, 2013 at 4:16 AM, David Chisnall <David.Chisnall at cl.cam.ac.uk > wrote: > On 24 Apr 2013, at 23:13, Frank White <frankwhite1003 at gmail.com> wrote: > > > Hello everyone, I would like to implement functionality something like > the following in my sample language..... > > > > {snipped not very informative C++ pseudocode.} > > > > I assume that I will need: > > > > - some ty...
2013 Apr 25
0
[LLVMdev] Dynamic Type Lookup ...
On 24 Apr 2013, at 23:13, Frank White <frankwhite1003 at gmail.com> wrote: > Hello everyone, I would like to implement functionality something like the following in my sample language..... > {snipped not very informative C++ pseudocode.} > I assume that I will need: > > - some type of runtime lookup table to store the class str...
2012 Jul 19
0
[LLVMdev] Supporting Classes using OCaml.
Hello all... I'm trying to create a simple language that supports classes using the OCaml API. When I use the web page demo to produce the intermediate code for the following C++ example ... class MyClass { public: MyClass(); int c; }; MyClass::MyClass () { c=55; } ...I get something like this .... %class.MyClass = type { i32 } @MyClass::MyClass() = alias void (%class.MyClass*)*
2012 Dec 15
0
[LLVMdev] Kaleidoscope Build Problems - (OCaml)
Hello everyone... I'm hoping that someone can give me insight as to why I am having problems building the Kaleidoscope example for OCaml. Platform: Mac OS 10.8.2 OCaml version: 4.00.1 LLVM version: 3.1 XCode version: 4.5.2 I successfully build the examples when running "gnumake BUILD_EXAMPLES=1" in the OBJ_DIR, however when I try to build them from outside the build tree (ie move
2013 Dec 12
0
[LLVMdev] Improving OCaml bindings
Peter …. I am interested in using the OCaml bindings since I found it on the LLVM tutorial site but have found little support for it. Not sure who else is interested in this. Frank.
2013 Dec 13
0
[LLVMdev] Identified Types using OCaml..
Hello all… The conclusion of the LLVM Kaleidoscope example talks about the ability of create types and structures. I would like to find a way to create a recursive structure type using the OCaml bindings. My purpose is to be able to create more advanced types such linked lists and trees. My understanding is that I have to create identified, named types but I haven’t found any functions that