¡@

Home 

c# Programming Glossary: grammar

C# int, Int32 and enums

http://stackoverflow.com/questions/1813408/c-sharp-int-int32-and-enums

a compilation error based on parsing. I took a look at C# grammar specification and the underlying types defined there as tokens.. parser expects specific strings from the integral types grammar rule. The error is a parsing error even though both enum Enum..

Expression Versus Statement

http://stackoverflow.com/questions/19132/expression-versus-statement

with that expression X 1 2 X FORTRAN didn't have a grammar as we know it today&mdash that idea was invented along with..

Visualizing an AST created with ANTLR (in a .Net environment)

http://stackoverflow.com/questions/2856612/visualizing-an-ast-created-with-antlr-in-a-net-environment

following some tutorials I'm now trying to create the grammar for my very own language and to generate an AST. For now I'm.. What I'm looking for is a simple way to go from input grammar visual AST representation a la the Interpreter feature of ANTLRWorks... C# sorry . Take the following overly simplistic expression grammar that produces an AST grammar ASTDemo options output AST tokens..

ANTLR 3.3 C# Tutorials? [closed]

http://stackoverflow.com/questions/4396080/antlr-3-3-c-sharp-tutorials

know of some tutorials I've finally managed to get my grammar file compiling into a lexer and parser and I can get those compiled.. sub expressions integer and decimal numbers. An ANTLR grammar could look like this grammar Expression options language CSharp2.. and decimal numbers. An ANTLR grammar could look like this grammar Expression options language CSharp2 parse exp EOF exp addExp..

Is there a CSS parser for C#? [closed]

http://stackoverflow.com/questions/512720/is-there-a-css-parser-for-c

in other languages and they don't look very complex the grammar is remarkably simple . I want one in C# er .NET but I can't..

good Speech recognition API

http://stackoverflow.com/questions/5467827/good-speech-recognition-api

be good even if it can understand just simple dictation grammar. I need this ASAP. c# .net speech recognition speech speech.. in your application. Since you are using the dictation grammar and the desktop windows recognizer I believe it can be trained.. of the simplest .NET windows forms app to use a dictation grammar that I could think of. This should work on Windows Vista or..

How to convert a String to its equivalent Expression Tree?

http://stackoverflow.com/questions/821365/how-to-convert-a-string-to-its-equivalent-expression-tree

instance. Here are my current thoughts Implement a basic grammar in ANTLR to support basic Comparison and Logical Operators...

MVC Razor view nested foreach's model

http://stackoverflow.com/questions/8894442/mvc-razor-view-nested-foreachs-model

by walking an expression tree and building a different grammar that this case a SQL query How does the Model Binder work So..

C# Speech Recognition - Is this what the user said?

http://stackoverflow.com/questions/227140/c-sharp-speech-recognition-is-this-what-the-user-said

Choices for var i 0 i 100 i c.Add i.ToString var gb new GrammarBuilder c var g new Grammar gb rec.LoadGrammar g rec.Enabled.. i c.Add i.ToString var gb new GrammarBuilder c var g new Grammar gb rec.LoadGrammar g rec.Enabled true This recognizes the numbers.. var gb new GrammarBuilder c var g new Grammar gb rec.LoadGrammar g rec.Enabled true This recognizes the numbers from 1 to 100..

How do you convert Html to plain text? [duplicate]

http://stackoverflow.com/questions/286813/how-do-you-convert-html-to-plain-text

you need to track state omething more like a Context Free Grammar CFG . Althought you might be able to accomplish it with 'Left..

How to mix Grammar (Rules) & Dictation (Free speech) with SpeechRecognizer in C#

http://stackoverflow.com/questions/3046921/how-to-mix-grammar-rules-dictation-free-speech-with-speechrecognizer-in-c

to mix Grammar Rules Dictation Free speech with SpeechRecognizer in C# I really.. var c new Choices c.Add search var gb new GrammarBuilder c var g new Grammar gb rec.LoadGrammar g rec.Enabled.. Choices c.Add search var gb new GrammarBuilder c var g new Grammar gb rec.LoadGrammar g rec.Enabled true ... ... void rec_SpeechRecognized..

good Speech recognition API

http://stackoverflow.com/questions/5467827/good-speech-recognition-api

recognizer new SpeechRecognitionEngine Grammar dictationGrammar new DictationGrammar recognizer.LoadGrammar.. recognizer new SpeechRecognitionEngine Grammar dictationGrammar new DictationGrammar recognizer.LoadGrammar dictationGrammar.. Grammar dictationGrammar new DictationGrammar recognizer.LoadGrammar dictationGrammar try button1.Text Speak..

Help with SAPI v5.1 SpeechRecognitionEngine always gives same wrong result with C#

http://stackoverflow.com/questions/6193874/help-with-sapi-v5-1-speechrecognitionengine-always-gives-same-wrong-result-with

7 mychoices.Add 8 mychoices.Add 9 mychoices.Add 0 Grammar myGrammar new Grammar new GrammarBuilder mychoices Create the.. mychoices.Add 8 mychoices.Add 9 mychoices.Add 0 Grammar myGrammar new Grammar new GrammarBuilder mychoices Create the engine... 8 mychoices.Add 9 mychoices.Add 0 Grammar myGrammar new Grammar new GrammarBuilder mychoices Create the engine. SpeechRecognitionEngine..