Displaying 20 results from an estimated 30000 matches similar to: "variability-aware lexer/parser"
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
2007 Nov 25
0
[LLVMdev] OCaml
>> Lexing is the one issue though.
>
> How do you mean?
I think he's observing that a majority of the tutorial code is
actually spent on the lexer and parser, not on the llvm-specific pieces.
> I'm just fiddling around with it now. The lexer, parser and AST
> written using
> camlp4 might look something like this in OCaml:
Sure, the existing tutorial would be
2008 Mar 24
1
[LLVMdev] AsmParser/Lexer.l error
Hello
With the latest LLVM from Subversion (rev48737 from
http://llvm.org/svn/llvm-project/llvm/trunk) I'm getting
make[2]: Entering directory `/usr/src/Lang/llvm/_Obj/lib/AsmParser'
llvm[2]: Flexing Lexer.l
llvm[2]: Compiling Lexer.cpp for Debug build
/usr/src/Lang/llvm/lib/AsmParser/Lexer.l: In function 'int llvmAsmlex()':
/usr/src/Lang/llvm/lib/AsmParser/Lexer.l:278: error:
2010 Jun 21
2
[LLVMdev] MC: Object file specific parsing
Hi Daniel,
attached is a patch that pushes most of the object file specific parsing
out of AsmParser and down into MachOAsmParser. This was done as a
cleanup for the ELF work. I know that you're not happy with this
approach, particularly the fact that as we add more object file formats
and assembler dialects, it's going to cause a class explosion. But I was
hoping that we could use this
2007 Nov 25
1
[LLVMdev] OCaml
On Sunday 25 November 2007 21:00, Chris Lattner wrote:
> >> Lexing is the one issue though.
> >
> > How do you mean?
>
> I think he's observing that a majority of the tutorial code is
> actually spent on the lexer and parser, not on the llvm-specific pieces.
Right.
> > I'm just fiddling around with it now. The lexer, parser and AST
> > written
2009 Mar 25
0
[LLVMdev] Rolling my own LLVM assembly language parser
Hello,
> I was thinking of generating my own lexer and parser for LLVM assembly. I'm
> aware that between the specification here:
Why do you need this?
There is already a parser library inside LLVM framework and you can
use it directly without any problems.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2007 Nov 25
2
[LLVMdev] OCaml
On Sunday 25 November 2007 05:28, Aaron Gray wrote:
> > On Sunday 25 November 2007 03:42, Christopher Lamb wrote:
> >> Try this google query. I know there's been some discussion/work on
> >> OCaml and LLVM.
> >>
> >> site:lists.cs.uiuc.edu/pipermail/llvmdev OCaml interface
> >
> > I just rediscovered the OCaml bindings in bindings/ocaml
2009 Mar 25
4
[LLVMdev] Rolling my own LLVM assembly language parser
Hi everyone,
I'm currently in the first year of my PhD, and I'm going to be looking at an
experimental IR for my thesis. After looking at a variety of research
compilers I've come to the conclusion that LLVM is the nicest to work with
for my purposes. I was considering writing the code to construct this
experimental IR from LLVM assembly, and then at the end of the process (i.e.
new
2020 Feb 04
3
Re: Does Libvirt's json parser support single quoted string in qmp json string?
Eric Blake <eblake@redhat.com> writes:
> [adding Markus]
>
> On 2/3/20 4:13 AM, Daniel P. Berrangé wrote:
>> On Fri, Jan 31, 2020 at 06:44:42AM -0600, Eric Blake wrote:
>>> On 1/31/20 4:38 AM, Peter Luo wrote:
>>>
>>>> error: internal error: cannot parse json {"execute": "block-commit", "arguments": {
2012 Oct 10
0
[LLVMdev] [cfe-dev] OpenMP support in CLANG: A proposal
Hi Eli and Others
In response to your feedback, I have taken care of all your review comments
- I removed clangOMP.a
and moved the implementation of "class OmpPragmaHandler" to "clangLex.a".
The attached zipped file - namely - 'OpenMP_support_in_Clang.tar.gz'
contains all the implemented
"patches" along with *newly* added source files.
Another attached text
2009 Mar 25
0
[LLVMdev] Rolling my own LLVM assembly language parser
jstanier wrote:
> Hi everyone,
>
> I'm currently in the first year of my PhD, and I'm going to be looking at an
> experimental IR for my thesis. After looking at a variety of research
> compilers I've come to the conclusion that LLVM is the nicest to work with
> for my purposes. I was considering writing the code to construct this
> experimental IR from LLVM
2017 Jan 31
0
Linking Linux kernel with LLD
I am unknown to all the stuff happening in and around LLVM, as i am
interested in the project but had not time to dig in, yet. Just reading
here and there a bit. But i wanted to share my 2 cents on the Lexer topic.
I have written multiple lexer/parser for private purpose and recently one
for our product to compile Mathematical expressions into an internal format
for evaluation.
So far i usually
2010 Sep 08
0
[LLVMdev] how to call back from JITted code to some native custom functions/variables.
Hey,
I am designing/implementing a very simple "flow control language" [1] I
want to use in my HTTP server. I am still very new to LLVM and I've
already the lexer and parser part working pretty well, however, the code
generator (runner) does not yet feel as comfortable as I want.
Precisely, I want this language to be extensible in terms of custom
variables - of type string (i8*) or
2012 Jul 24
1
igraph build problems
Hello:
I've been trying for days now to get igraph working on a debian sarge
install. There does not appear to be any pre-built packages, and when
I try and install within R, it blows up on the final linking, claiming
its unable to find libgfortran (which IS installed, and IS working for
all other users of the compiler).
I started up R and ran: install.packages("igraph"). It
2010 Mar 16
0
[LLVMdev] Help with understanding LLVM
On Mar 15, 2010, at 8:15 PM, kalyan ponnala wrote:
> Hi,
>
> I am trying to understand LLVM. Can an expert tell me how to compare the kaleidoscope implementation with the LLVM's compiler implementation. I mean can anyone tell me about the lexer, parser, codegen related .cpp and .h files inside the LLVM solution project. I would like to understand the LLVM's compiler in the same
2008 Sep 24
1
[LLVMdev] LLVMdev Digest, Vol 51, Issue 76
Thank you very much for replying. Then I have another question:
Before I start, I want to choose the best platform to develop my project.
Would you please tell what is the best OS platform to develop the llvm
project? There are several choices: Mac OS X, FreeBSD, Linux and Windows.
Your opinion is eagerly expected. Thank you :-)
> Message: 7
> Date: Wed, 24 Sep 2008 00:44:33 -0700
>
2008 Sep 24
3
[LLVMdev] What can llvm provide when writing a new compiler?
Hi everyone.
Because there is still a little confusion about the huge document, I want to
know what llvm can provide when we customize our new compiler?
For example, a normal compiler includes lexer, parser, intermediate code
generator , optimizer and target code generator. According to llvm
documents, it seems that llvm can provide a better intermediate code
presentation. And what else can it
2017 Jan 27
2
Linking Linux kernel with LLD
> Hmm..., the crux of not being able to lex arithmetic expressions seems to
> be due to lack of context sensitivity. E.g. consider `foo*bar`. Could be a
> multiplication, or could be a glob pattern.
>
> Looking at the code more closely, adding context sensitivity wouldn't be
> that hard. In fact, our ScriptParserBase class is actually a lexer (look at
> the interface; it
2009 Sep 25
2
[LLVMdev] Variable Attributes
I would like to modify the compiler to classify variables, which will
ultimately determine the position the variables are stored in memory. What
would be the best approach to accomplish this?
I was thinking of modifying the lexer and parser to add a new attribute and
have the machine code generator handle memory mapping accordingly. Does
anyone have experience with this sort of exercise? How
2013 Dec 13
0
Error: Puppet::Parser::AST::Resource failed with error Hiera::InterpolationLoop: Detected in [::environment]
Hello,
just upgraded Hiera from ver. 1.2.1 to 1.3.0 and broke our puppet
environment. :)
It seems that there are sizeable changes related to variable interpolation
Here is an error during Puppet run:
Error: Puppet::Parser::AST::Resource failed with error
Hiera::InterpolationLoop: Detected in [::environment] at
/home/ubuntu/environments/project_dev/manifests/site.pp:35 on node