array in llvm.org compiler

Jens Kallup <jkallup@web.de>
Wed, 13 Oct 2010 16:17:20 +0200

          From comp.compilers

Related articles
array in llvm.org compiler jkallup@web.de (Jens Kallup) (2010-10-13)
| List of all articles for this month |

From: Jens Kallup <jkallup@web.de>
Newsgroups: comp.compilers
Date: Wed, 13 Oct 2010 16:17:20 +0200
Organization: CNNTP
Keywords: LLVM, question
Posted-Date: 13 Oct 2010 13:21:03 EDT

Hello,


How is it possible to define/create an array like this form:


MyArray = new Array[20] // create new Array Object in lang.(L)
MyArray[0] = 123.45 // define element with float
MyArray[1] = "foo" // ... string
MyArray[2] = func_ptr // function ppinter


or:
MyArray2 = new Array[10,2] // 2 dimensional array
...
and so on ...


in the LLVM.org project?


Thanks for hints and tips
Jens



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.