Most voted "compiler-project" questions
9 questions
Sort by count of
-
82
votes1
answer9485
viewsHow is a compiler made?
A compiler is programmed in what language? All compilers of a language are equal or one may exist better than another?
-
40
votes5
answers3496
viewsWhat are the main advantages and disadvantages of using an LL parser or an LR?
I’m building a parser for a programming language. Grammar does not need to meet all the complexities of a language like C++ or Lisp. I have a moderate knowledge of language building but little…
-
17
votes2
answers1365
viewsShould I use a parser generator or should I develop my own code to do "parse" and "lex"?
Obviously the question should not be interpreted "to the letter". I do not want anyone to decide for me, I need to know the perks and disadvantages to use one method or the other. When should I wear…
parser compiler-project lexical-analysis language-designasked 10 years, 11 months ago Maniero 444,682 -
10
votes5
answers1668
viewsHow to use a language other than Javascript in your browser?
Despite the enormous plurality of programming languages in various environments (desktop, server, mobile devices), browser continues to support one and only one language: Javascript. The reason for…
-
8
votes2
answers1956
viewsWhat is Backus-Naur Form (BNF)?
I was reading an answer here and I came across this term, so what does this term mean, and what is the relationship/influence on current languages?
-
5
votes2
answers195
viewsCompile Linux-ready Assembly on OSX
I’m trying to do a study of compilers, so I have to compile an Assembly of a language called howto with nasm. the intermediate code generated by the howto compiler is as follows: extern printf…
-
5
votes1
answer56
viewsCan LLVM be used with the C language?
I’m studying compilers and I’m using the C language and learning about LLVM but all examples are in C++ language. The question is whether I can use the LLVM with the C language and how can I start a…
-
2
votes1
answer607
viewsGenerate . exe from my Program
Well I’m in doubt I saw in a forum something about that Content found in the forum and I’m looking for more explanations and examples I am developing an Auto-Backup Database generating your . SQL…
-
1
votes1
answer240
viewsDoubt with the Lexical and Syntactic Analyzer Generator (GALS) switch
GALS generates the code in Java. I want to put it in the eclipse to make a screen and such. I was told that in the method nextState class lexico, have to put a switch with some numbers. But where do…