bnf Questions

2

I am trying to send a BREW request to a server implementing the Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0, defined in RFC 2324), which is a protocol built on top of HTTP, using cURL. I wou...
Warrenwarrener asked 5/11, 2020 at 13:54

7

Update: Use Twitter's Entities if you can- they figured it out for you as well as other items. My case is that I just have the tweet without entities and all the extra metadata I've spent what I c...
Symer asked 9/12, 2011 at 21:21

1

Solved

I'm getting back into language design/specification (via BNF/EBNF grammars) after 20+ years of leaving the topic alone (since my CS undergrad degree). I only vaguely recall the various related term...
Tamworth asked 14/12, 2022 at 23:40

5

Solved

Are there any tools to convert ANTLR grammar syntax to and from other BNF syntaxes? There are several forms Backus-Naur Form (BNF, EBNF, ABNF, W3C-BNF, XBNF...) with specification, e.g. see t...
Perturb asked 1/2, 2011 at 22:52

4

Solved

Is there an algorithm or tool to convert regular grammar to regular expression?
Hallagan asked 17/1, 2012 at 16:20

1

Solved

How do you call the "inner part" of a regular expression without the delimiters? For example: Given these regular expressions: /\d+/ and #(hello)# we can break each one down into 3 parts:...
Retentive asked 15/9, 2021 at 16:23

6

Solved

I want to come up with a language syntax. I have read a bit about these three, and can't really see anything that one can do that another can't. Is there any reason to use one over another? Or is i...
Breughel asked 4/4, 2010 at 16:19

4

Solved

I'm looking for the Typescript grammar. Not the parser-lexer, but only the formal grammar description. I want to implement ts it's code folding and basic static code analyzing as plugin to on...
Anemography asked 4/10, 2012 at 5:44

4

Solved

I need a regular expression for a language tag as defined by BCP 47. I know that the full BNF syntax is available at http://www.rfc-editor.org/rfc/bcp/bcp47.txt and that I could use it to write m...
Hodson asked 12/8, 2011 at 5:11

2

Solved

It's been a few years since my computer-language class and so I've forgotten the finer points of BNF's and EBNF's and I don't have a textbook next to me. Specifically, I've forgotten how to convert...
Nambypamby asked 17/3, 2010 at 22:54

2

Solved

I'm interested in the famous The syntax of C in Backus-Naur Form and studied for a while, what confuse me is that some syntax looks wrong to me but is considered right according to the BNF. For ex...
Colorable asked 22/3, 2019 at 7:20

4

I have to edit lots of grammar files in .bnf format. Is there a mode for this in Emacs? I've looked at CEDET's semantic package, and it seems that it USED to have a bnf-mode, but not any more. Thi...
Kremenchug asked 25/11, 2009 at 21:50

3

Is there any reason why there are no parser generators that consume straight BNF? I'm familiar with JavaCC and Antlr, and recently came across Parse2. It seems that each has its own notation. BNF ...
Earleenearlene asked 23/10, 2014 at 21:36

2

I am building a query engine for a database which is pulling data from SQL and other sources. For normal use cases the users can use a web form where the use can specify filtering parameters with s...
Adalie asked 3/7, 2013 at 13:37

1

Solved

I'd rather not create the grammar myself. I did download a 'grammar' but it is written in a non-standard form for ANTLR or Yacc and it contains lexer statements. It would take me some time to separ...
Vries asked 13/2, 2019 at 22:16

2

Solved

I am working on a merge tool for JavaScript programs, and I need to write a grammar for JavaScript (version >= ES6) in JavaCC format. For that, I want to use an openly available BNF grammar ...
Blastema asked 2/7, 2017 at 12:41

2

Solved

I know my question sounds a little vague, but I could not find any tutorials online. I am not asking for an answer, but for more of an explanation. An example of the BNF: <prog> ::= “int mai...
Dulcet asked 26/4, 2018 at 6:23

2

Solved

So I understand that: The end of a logical line is represented by the token NEWLINE This means the way Python's grammar is defined the only way to end a logical line is with a \n token. The s...
Lannie asked 28/3, 2018 at 8:18

1

Solved

I've searched the internet far and wide (for at least half a day now) and I can't seem to find the answers needed. Currently I'm trying to create a .bnf-file for an IntelliJ-Plugin with custom lan...
Bhayani asked 9/2, 2018 at 8:22

1

Solved

In working with Prolog DCG to parse input it is nice to have an accompaning BNF of the grammar. For example: BNF <Sentence> ::= <Noun_phrase> <Verb_phrase> <Noun_phrase&g...
Defilade asked 10/1, 2017 at 17:54

2

Solved

I have the following EBNF grammar for simple arithmetic expressions with left-associative operators: expression: term {+ term} term: factor {* factor} factor: number ( expression ) How can...
Aarau asked 11/7, 2012 at 12:50

1

I am writing a Custom Language plugin for IntelliJ. Here is a simplified example of the language. Note that the structure is recursive: I have successfully implemented the FLEX and BNF files, b...
Objectivity asked 5/3, 2016 at 21:58

1

I try to find the Extended BNF (EBNF) nice syntax highlighting. Can't find it through the Google. Anybody know the link? Thank you.
Lebrun asked 18/7, 2013 at 10:6

4

Do you know where can I get the BNF (Backus Naur Form) notation for the latest version of T-SQL from. This is the microsoft version and I can't find anything for it. I found SQL2 The revised ISO st...
Literator asked 31/1, 2012 at 18:21

2

Solved

Does BNF or ABNF support negation. That is exclude certain members of the set? I did not see any such negation operator in its syntax. For example, suppose S is the set of all alphanumeric strings...
Angi asked 6/6, 2012 at 21:11

© 2022 - 2024 — McMap. All rights reserved.