Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] help with llvm make system"
2009 Sep 22
0
[LLVMdev] help with llvm make system
Stefan Oestreicher <stefan.oestreicher at deluxe-design.at> writes:
[snip]
> Unfortunately no matter what I do to the makefile of the compiler tool
> it won't compile. I always get errors in llvm/Support/Annotation.h that
> look like some type declarations are missing. Unfortunately my
> experience building C/C++ programs, especially with autoconf etc., is
> very
2009 Sep 22
3
[LLVMdev] help with llvm make system
Hi,
I'm working on a compiler for a small toy language and I'm using the
llvm sample project layout, i.e. the llvm make system.
I've got one library (lomo-core) which contains my parser and all that
stuff and one tool (lomoc) that's my compiler.
The tool declares the library as dependency using:
USEDLIBS = lomo-core
Now that I've started to add IR generation I declared the
2009 Sep 22
1
[LLVMdev] help with llvm make system
Hi,
thank you for your response.
Óscar Fuentes schrieb:
> It would be useful to see the first error messages and the compile
> command (do make VERBOSE=1 in case it is hidden
the first few errors are:
f:/dev/projects/llvm-2.5/include/llvm/Support/Annotation.h:42: error:
expected unqualified-id before numeric constant
f:/dev/projects/llvm-2.5/include/llvm/Support/Annotation.h: In
2009 Jul 11
2
[LLVMdev] ANTLR?
That sounds like a problem. Just so I understand, do you mean there
isn't the run-time support etc. to write back ends for the C++
language, or that the compiler IR is also somehow insufficient to
write a code generator?
--Vikram
Associate Professor, Computer Science
University of Illinois at Urbana-Champaign
http://llvm.org/~vadve
On Jul 11, 2009, at 3:00 PM, Granville Barnett
2009 Jul 11
10
[LLVMdev] ANTLR?
We are looking for an open source C++ parser other than g++ if
possible. Clang would be great but its C++ support is still some way
away and we need something that works or nearly works now. Does
anyone have any experience with ANTLR for parsing C++ and for
extending their C++ parser? Any other feedback on ANTLR in general
would be welcome too. Thanks,
--Vikram
Associate Professor,
2009 Jul 11
0
[LLVMdev] ANTLR?
When you create a parser via ANTLR you specify the output language of the
resulting recursive descent parser, at the moment there exists no C++ output
template to my knowledge, thus you would have to generate the parser as C
code for which a template exists.
The runtime support should be there, at least partially but it won't use
things like exceptions, nor will it have a very modular design
2009 Jul 11
0
[LLVMdev] ANTLR?
Hi,
I've not got any experience using ANTLR to parse C++, however, you will find
that there only exists a C code generator for ANTLR and NOT a C++ one. Over
the years numerous people have requested a C++ code generation template but
alas there is still only a C one. Just a heads up.
Granville
2009/7/11 Vikram S. Adve <vadve at cs.uiuc.edu>
> We are looking for an open source C++
2011 Jan 24
3
[LLVMdev] LLVM grammar for ANTLR
Has anyone written a grammar for LLVM for ANTLR. I mean an ANTLR
grammar that parses LLVM instructions. Is an LLVM grammar available
for any other parsing tool?
Surinder
2008 Mar 09
2
[LLVMdev] linker error (llvm-config, eclipse)
Hi,
I'm playing around with llvm and the Kaleidoscope tutorial and first of
all I have to say I'm really impressed. LLVM rocks!
Unfortunately I've now run into a linker error while trying to optimize
the IR or turn it to bitcode and likely due to my very limited
experience with c++ I just can't figure out how to resolve it.
The linker complains that the llvm::WriteBitcodeToFile
2009 Jul 11
0
[LLVMdev] ANTLR?
On Jul 11, 2009, at 12:40 PM, Vikram S. Adve wrote:
> We are looking for an open source C++ parser other than g++ if
> possible. Clang would be great but its C++ support is still some
> way away and we need something that works or nearly works now. Does
> anyone have any experience with ANTLR for parsing C++ and for
> extending their C++ parser? Any other feedback on
2009 Jul 11
0
[LLVMdev] ANTLR?
For a LL(1) parser, it might be a little bit difficult to parse complex
grammar like C++, but it might work.
ANTLR worked great when other codes were written in Java, but it was a
little bit painful when using other languages like python.
I worked on it two years ago. I guess they might have some improvement now.
Haohui
On 07/11/2009 02:40 PM, Vikram S. Adve wrote:
> We are looking for an
2007 Mar 20
1
[LLVMdev] Google SOC - Idea
On 20 Mar 2007, at 15:45, Jeff Cohen wrote:
> Duncan Sands wrote:
>>> If that fails, I will build a front-end using ANTLR [http://
>>> antlr.org] a parser generator with which I am familiar and for
>>> which a FORTRAN grammar is already available (targeting an
>>> obsolete version of ANTLR, but it should not be too difficult to
>>> update).
2007 Mar 20
2
[LLVMdev] Google SOC - Idea
Hi Scott, I'm currently porting the Ada gcc front-end to LLVM.
This is similar to what you want to do, so here are some comments
from the trenches...
> I plan on first attempting to implement the FORTRAN front-end by
> co-opting the GCC FORTRAN parser.
Good plan. However the Fortran front-end that comes with gcc 4.0
is known to be weak (llvm-gcc is based on gcc 4.0). That's
2018 Mar 13
3
Argon2i support in CE packages
Hi All,
I've been experimenting with the Argon2i password scheme in a local
setup, backed by a LDAP server, and Dovecot 2.3.0.1 can't authenticate
my users for now.
On the LDAP side the user passwords start with {ARGON2I} (and I can
authenticate fine to the LDAP server), but it seems that the CE packages
are compiled without libsodium. Is that correct? Is at this time the
only
2011 Jan 25
1
[LLVMdev] LLVM grammar for ANTLR
Hi Sam,
Thanks for your reply.
I am implementing my research
(http://www.it.usyd.edu.au/~suri/Detecting%20Buffer%20Over.pdf), a
translation of LLVM to a simple non-deterministic language to detect
buffer overflows. It involves
(1) printing a control flow graph of basic blocks of a function (easily done)
(2) translating each llvm statement to a corresponding data flow
language (needs ASTs to
2007 Mar 20
0
[LLVMdev] Google SOC - Idea
Duncan Sands wrote:
>> If that fails, I will build a
>> front-end using ANTLR [http://antlr.org] a parser generator with which
>> I am familiar and for which a FORTRAN grammar is already available
>> (targeting an obsolete version of ANTLR, but it should not be too
>> difficult to update).
>>
>
> Bad plan. I doubt you can build a serious fortran
2007 Aug 17
3
Any parser generator / code assistance for R?
Hi,
Is there any parser generator like www.antlr.org? Moreover, how does simple
code assistance work currently in R? By 'simple code assistance' I meant
things like:
Object$M<TAB> --> Object$Method
2009 Jan 21
1
Sieve regex match problem
I'm trying to make a regex to match common mailing list addresses and file messages to
corresponding folders.
I'm using sieve-test to try and understand what is happening. The sieve script is:
require [ "fileinto", "regex", "variables" ];
if header :regex ["Sender"]
["(.*>[ \\t]*,?[ \\t]*)?([^-@]*)-([^-@]*)(-bounces)?@antlr.org"] {
2011 Jan 24
0
[LLVMdev] LLVM grammar for ANTLR
Hello Surinder,
The existing hand-written parser is callable from almost anywhere so the only
reason you'd need to have a parser for it would be to extend it. Originally it
was written using Flex and Bison but Chris Lattner rewrote it from scratch to
catch more errors at the parsing stage.
The only feature I've found to be missing from the existing LLVM-AS utility was
an include
2009 Sep 24
0
[LLVMdev] help with llvm make system
Whoops, sending it to to llvm list as well, freaking takes another ~70
seconds to do a reply to all instead of a reply to, headers still not
following standards of every other list I have ever been on...
On Wed, Sep 23, 2009 at 6:34 AM, Stefan Oestreicher
<stefan.oestreicher at deluxe-design.at> wrote:
> Hi,
>> I have no
>> idea why it works now, there is no difference.
>