|
What about a good software to check grammar in English language?
Started by monkey_boys on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
SpellCheckPlus is a grammar checker that finds common spelling errors and grammatical mistakes in English.
|
|
How to define a grammar (context-free) for a new programming language (imperative programming language) that you want to design from scratch.
In other words : how do you proceed when you want to create a new programming language from scratch.
Started by Ayoub on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
(Assuming you want to write a context free grammar, that is.)
you need to buy these two books Language....
Be best served by starting with an existing language and modifying its grammar to match what ( Extended Backus-Naur Form ).
|
|
Many programming languages allow trailing commas in their grammar following the last item in a list. Supposedly this was done to simplify automatic code generation, which is understandable.
As an example, the following is a perfectly legal array initialization...
Started by polygenelubricants on
, 5 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I'm not an expert on the commas, but I know anybody know] other grammar "peculiarities" of modern programming languages?
One of my favorites, Modula-3 , was designed in 1990 with Niklaus....
Of the language this first appeared in, though.
|
Ask your Facebook Friends
|
I'm developing a small programming language based mostly of the C99 standard and I've already written a fairly decent lexer in java and now I'm looking to generate a Java Parser from the grammar. I know there's Bison , but that seems to only generate ...
Started by Yoely on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The JFlex home page....
I've been quite impressed by BNFC , which is able to generate parsers in Java as well as in C, C++, C#, F#, Haskell, and OCaml .
Another couple to look at are JavaCC and SableCC (it has been a long time since I looked at SableCC) .
|
|
I'm trying to work on a kind of code generator to help unit-testing an legacy C/C++ blended project. I don't find any kind of independent tool can generate stub code from declaration. So I decide to build one, it shouldn't be that hard.
Please, anybody...
Started by Kevin Yu on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Ed believes his grammar is fully compliant with the ISO/ANSI C++ standard , however he doesn't warrant it: "the....
From the C++ FAQ Lite :
38.11 Is there a yacc-able C++ grammar?
The primary yacc grammar you'll want is from Ed Willink.
|
|
Hey,
I've been looking at Haskell and I'd quite like to write a compiler (as a learning exercise) in it, since a lot of it's innate features can be readily applied to a compiler (particularly a recursive decent compiler).
What I can't quite get my head...
Started by Peter on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
A quick Google search turned up ....
:)
Programming language grammars are commonly represented in BNF form , which can be used by tools like Yacc Haskell code from a BNF grammar; I found this tool which claims to be able to do that.
|
|
It is well known that different people have different aptitudes regarding various programming paradigms (e.g. some people have trouble learning non-procedural, especially functional languages. Some people have trouble understanding pointers - see Joel...
Started by DVK on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Important: the only for any particular task, but I think this has less to do with the structure or grammar of a person's language than it ....
The grammar of someone's native language affected their speed of learning math.
|
|
Over the years, "regex" pattern matching has been getting more and more powerful to the point where I wonder: is it really just context-sensitive-grammar matching? Is it a variation/extension of context-free-grammar matching? Where is it right now and...
Started by notnot on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The current "location" in the grammar is represented by a stack a context-sensitive grammar....
The current "location" in the grammar to be matched: Recursion cannot be implemented Context-free languages: Matched by a stack machine.
|
|
Perl has been one of my go-to programming language tools for years and years. Perl 6 grammars looks like a great language feature. I'd like to know if someone has started something like this for Ruby.
Started by dreftymac on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The standard library already exists , I recommend....
And, since Perl6 grammars are a language feature, and Ruby doesn't allow the language to be extended for Ruby which implement different kinds of Parsing or Grammar Systems.
|
|
Which is best free online/offline service/tool to check correctness of grammar of english content?
Started by Jitendra vyas on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
Online: Online Spelling, Grammar, and Thesaurus checking
Offline: LanguageTool Open Source language checker (standalone as Java application or as OOo plugin).
The grammar checker is very good.
|