Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] Formal Definitions"
2013 Jul 29
0
[LLVMdev] Require Grammar for converting C to IR
Vijay Daultani wrote:
> Respected Sir/Madam,
>
> As I was developing some part of compiler for a project. I require grammar
> (BNF or EBNF) for converting the C code in the IR as it is not been
> mentioned any where over your official website.
I don't know what you mean by "converting the C code in the IR".
Regardless, LLVM does not have BNF or EBNF forms (or any
2013 Jul 29
1
[LLVMdev] Require Grammar for converting C to IR
I am curious how do you guys do it anyways?
On Mon, Jul 29, 2013 at 3:27 AM, Nick Lewycky <nicholas at mxc.ca> wrote:
> Vijay Daultani wrote:
>
>> Respected Sir/Madam,
>>
>> As I was developing some part of compiler for a project. I require grammar
>> (BNF or EBNF) for converting the C code in the IR as it is not been
>> mentioned any where over your
2006 Jul 29
4
Formal Grammar — some thoughts
I recently subscribed and saw in the archive that Eric Astor was
asking for a formal grammar (unlikely the first time for such request.)
Currently there are a few problems in making such a thing so I was
curious if Mr. Gruber has made any thoughts about moving toward one?
This would also allow a more ?clean? parser which would get rid of
some of the current problems (bad nesting[^1],
2016 May 26
1
Potential ambiguity in the grammar of LLVM IR assembly
Hello Tim,
Thank you for getting back to me.
The language grammar as defined by the LLVM Language Reference Manual
[1] does not include the details of the LLVM IR parser reference
implementation.
The following extract from "lib/AsmParser/LLParser.cpp" illustrates that
unnamed globals are allowed [2].
> /// ParseUnnamedGlobal:
> /// OptionalVisibility (ALIAS | IFUNC) ...
2011 Oct 20
1
[LLVMdev] Formal spec for LLVM IR (Was: LLVM Language Reference Strictness)
Reed,
Are you working on a grammar of the LLVM syntax or also on a full semantics?
Steve Zdancewic's group at U. Penn. is working on a formal operational semantics for LLVM. It is partially complete and Greg Morrisett at Harvard is planning to build further on it.
Regards,
--Vikram
Professor, Computer Science
University of Illinois at Urbana-Champaign
http://llvm.org/~vadve
On Oct 20,
2013 Jul 27
4
[LLVMdev] Require Grammar for converting C to IR
Respected Sir/Madam,
As I was developing some part of compiler for a project. I require grammar
(BNF or EBNF) for converting the C code in the IR as it is not been
mentioned any where over your official website.
Awaiting for your help.
Regards,
Vijay Daultani.
M.Tech student
IIT Delhi
2003 Jul 17
6
Formal definitions of R-language.
Hello!
Some CS-guys (the type who knows what Church formalism is) keep asking
me questions about formal definitions of R-language that I can not
answer (or even understand). Is there some freely available papers which
I can throw at them where it would be explained is R
functional/OOP/procedural language, does it use weak/strong,
dynamic/static typization, does it use lazy or ...(do not know
2013 Jul 29
2
[LLVMdev] Require Grammar for converting C to IR
Seems that Vijay is asking about converting C program to LLVM IR
On Mon, Jul 29, 2013 at 9:26 PM, Eli Bendersky <eliben at google.com> wrote:
>
>
>
> On Sat, Jul 27, 2013 at 9:02 AM, Vijay Daultani <vijay.daultani at gmail.com>wrote:
>
>> Respected Sir/Madam,
>>
>> As I was developing some part of compiler for a project. I require grammar
>>
2006 May 04
1
[LLVMdev] Idea for the Summer of Code
Hi all,
I have an idea for a proposal for the summer of code which I think is pretty
cool, but I wanted to run it past you all to see what you thought of it
first.
Basically, the proposal is to use LLVM as a test bed for a more theoretical
idea I have. I want to develop a grammar-level way of formally specifying
how to translate between two languages. Borrowing from XSLT (a way of
transforming
2013 Jul 29
0
[LLVMdev] Require Grammar for converting C to IR
On Sat, Jul 27, 2013 at 9:02 AM, Vijay Daultani <vijay.daultani at gmail.com>wrote:
> Respected Sir/Madam,
>
> As I was developing some part of compiler for a project. I require grammar
> (BNF or EBNF) for converting the C code in the IR as it is not been
> mentioned any where over your official website.
>
> Awaiting for your help.
>
>
Hi Vijay,
If you are asking
2013 Sep 12
0
[LLVMdev] [JOB AD] Paid project proposal - LLVM backend for an n-address code machine
== SMALL JOB POSTING ==
To whom it may concern,
I am the CEO and co-founder of Ajax Compilers
(http://www.ajaxcompilers.com), an EDA startup established in Jan. 2012.
The job:
We are in urgent need of an LLVM developer/specialist/guru for a
specific short term, full-time commercial project.
Please let us know within the following few days if you are interested
and willing to undertake
2020 Oct 17
0
[PATCH nbdkit] common/include/tvdiff.h: Add formal specification.
This commit adds a formal specification of tvdiff_usec and a partial
specification of subtract_timeval. These may be proved using Frama-C.
The existing functions ignored overflow, but it is possible to call
the functions with parameters that will cause overflow. So to create
a formal specification I had to modify the functions to signal
overflow. Luckily GCC and Clang have convenient
2024 Feb 04
1
NOTE: multiple local function definitions for ?fun? with different formal arguments
Well you can see that yeast is exactly weekday you have. The way out is to just not name the result
toto <- function(mode)
{
ifelse(mode == 1,
function(a,b) a*b,
function(u, v, w) (u + v) / w)
}
________________________________
From: Grant Izmirlian <izmirlidroid at gmail.com>
Date: Sun, Feb 4, 2024, 10:44 AM
To: "Izmirlian, Grant (NIH/NCI) [E]"
2016 May 25
4
Potential ambiguity in the grammar of LLVM IR assembly
Hello everyone,
While developing a parser for LLVM IR, I seem to have stumbled upon a
potential ambiguity in the LLVM IR assembly language grammar. Most
likely there is something which I may have overlooked, so wanted to
reach out to a more experienced crowed for some feedback.
How would the following set of tokens be interpreted [1]?
declare
void
@foo()
unnamed_addr
global
i32
42
As far as
2024 Feb 04
1
NOTE: multiple local function definitions for ?fun? with different formal arguments
On 04/02/2024 10:55 a.m., Izmirlian, Grant (NIH/NCI) [E] via R-devel wrote:
> Well you can see that yeast is exactly weekday you have. The way out is to just not name the result
I think something happened to your explanation...
>
> toto <- function(mode)
> {
> ifelse(mode == 1,
> function(a,b) a*b,
> function(u, v, w) (u + v) / w)
> }
It's
2024 Feb 06
1
[EXTERNAL] Re: NOTE: multiple local function definitions for ?fun? with different formal arguments
Because functions get called and therefore, the calling sequence matters. It?s just protecting you from yourself, but as someone pointed out, there?s a way to silence such notes.
G
From: Herv? Pag?s <hpages.on.github at gmail.com>
Sent: Tuesday, February 6, 2024 2:40 PM
To: Izmirlian, Grant (NIH/NCI) [E] <izmirlig at mail.nih.gov>; Duncan Murdoch <murdoch.duncan at gmail.com>;
2024 Feb 06
2
NOTE: multiple local function definitions for ?fun? with different formal arguments
Thanks. Workarounds are interesting but... what's the point of the NOTE
in the first place?
H.
On 2/4/24 09:07, Duncan Murdoch wrote:
> On 04/02/2024 10:55 a.m., Izmirlian, Grant (NIH/NCI) [E] via R-devel
> wrote:
>> Well you can see that yeast is exactly weekday you have.? The way out
>> is to just not name the result
>
> I think something happened to your
2024 Feb 06
1
[EXTERNAL] Re: NOTE: multiple local function definitions for ?fun? with different formal arguments
Here's a dummy example that I think illustrates the problem:
toto <- function() {
if (runif(1) < 0.5)
function(a) a
else
function(a,b) a+b
}
> fcn <- toto()
> fcn(1,2)
[1] 3
> fcn <- toto()
> fcn(1,2)
[1] 3
> fcn <- toto()
> fcn(1,2)
Error in fcn(1, 2) : unused argument (2)
How can you use the returned function, if you get different arguments?
2008 Apr 06
1
markdown PEG (parsing expression grammar)
There's been a lot of discussion on this list about creating a formal
grammar for markdown. I had a go at writing a [parsing expression
grammar] for markdown. I used Haskell and John Meacham's Frisby PEG
parsing library, but it should not be too hard to port the grammar
to PEG libraries in other languages.
[parsing expression grammar]:
2003 Aug 27
0
Minard's Challenge: Re-Visioning Minard Contest
In a recent talk ('Visions of the Past, Present & Future of Statistical
Graphics'),
I talked about, among other things, the lessons Minard's March on Moscow
graphic had
for modern statistical graphics, and illustrated aspects of power and
simplicity
in several programming languages where this graphic had been recreated.
I referred to 'elegance factors' of various