grammar
ANTLR: grammar for the R5RS lexical structure, problem with numbers
i\'m implementing an IDE for scheme in eclipse using DLTK. So far, i am programming the grammar to recognize the lexical structure.[详细]
2023-03-11 10:26 分类:问答Arithmetic expression grammar
I\'m trying to create an appropriate grammer for some arithmetic expressions. The valid tokens for my expressions are the following:[详细]
2023-03-10 19:52 分类:问答switch recognized item in grxml file
I have created a grammar (in grxml format开发者_高级运维) to recognize the OMV literal (with hu-hu language settings)[详细]
2023-03-09 04:41 分类:问答Hosts file ANTLR grammar
Is there an existing, working hosts file grammar on the web? I checked out list on http://www.antlr.org/grammar/list, but I didn\'t find it there.[详细]
2023-03-08 06:40 分类:问答Context-sensitivity vs Ambiguity
I\'m confused about how context-sensitivity and ambiguity influence each other. What i think is correct is:[详细]
2023-03-08 01:33 分类:问答Grammar for a boolean calculator language
I am writing a grammar for a boolean calculator language. Programmes written in this language will consist of atmost one statement whose result will be boolean.[详细]
2023-03-06 22:49 分类:问答Having trouble grokking CSS 2.1 grammar
I am writing a hand-coded CSS 2.1 parsing engine (in C#), and I\'m working directly off the W3C CSS 2.1 grammar (http://www.w3.org/TR/CS开发者_运维问答S21/grammar.html). However, there\'s a token that[详细]
2023-03-06 04:41 分类:问答Is there a way to improve this ANTLR 3 Grammar for positive and negative integer and decimal numbers?
Is there a way to express this in a less repeative fashion with the optional positive and negative signs?[详细]
2023-03-06 02:26 分类:问答Context sensitive grammar
No开发者_C百科am Chomsky - formal languages - type 1 - context sensitive grammar Does AB->BA violate the rule? I assume it does.[详细]
2023-03-06 00:29 分类:问答ANTLRv3 not reading options
I am very new to ANTLR and am trying to understand how the Lexer and Parser rules work. I\'m experiencing issues with a grammar I\'ve written that seem to be related to lexer tokens with multiple char[详细]
2023-03-05 22:59 分类:问答