|Choosing a language for compiler design firstname.lastname@example.org (1996-10-16)|
|Re: Choosing a language for compiler design email@example.com (1996-10-18)|
|Re: Choosing a language for compiler design firstname.lastname@example.org (1996-10-18)|
|Re: Choosing a language for compiler design email@example.com (Tim Wilson 6093) (1996-10-18)|
|Re: Choosing a language for compiler design firstname.lastname@example.org (1996-10-18)|
|Re: Choosing a language for compiler design email@example.com (Bart Demoen) (1996-10-20)|
|Re: Choosing a language for compiler design firstname.lastname@example.org (1996-10-20)|
|[6 later articles]|
|From:||email@example.com (Paulo Jose Matos Lopes Pinto - Aluno Eng. Informatica)|
|Date:||16 Oct 1996 17:56:37 -0400|
|Organization:||Faculdade de Ciencias e Tecnologia, Univ. Nova de Lisboa,Portugal|
|Keywords:||tools, question, comment|
Now that I have an Yacc/Lex files for Oberon, I face the problem of
choosing a language for its implementation.
I have versions of Yacc/Lex for C, C++, Turbo Pascal and Ada.
There are several issues regarding the choosen language, some of them
-- C :
It's widely used for building compilers.
It's small and fast.
It's very error prone.
Has a very badly implemented module system.
We all know their famous pointer problems.
It's going to be the language of choice for the next years.
Many of the errors of C are caught by the compiler.
It's an object oriented language with many nice features like
templates and exceptions.
It's a mountrous regarding the total number of features (I think
that it is even bigger than Ada95).
Every compiler has a different set of libraries.
Not all of the avaliable compilers fully suport the standard.
-- Turbo Pascal:
A great version of the Pascal language.
It also supports object orientation.
Due to rigouros type checking the compiler would be more robust.
It's non standart.
It only exists in the MS-DOS and in the Windows 3.* systems.
It's Pascal based.
It's a very robust language that is actualy used for software enginering.
It supports object oriented programing (Ada95).
It has a good module implementation.
It's not widely accepted by some people.
It hasn't as many tools as C++.
I would like to receive the opinion of persons that deal with compiler
construction, because this is my first attempt to make one.
Bye and I hope that this thread doesn't has many english errors.
| Paulo Pinto, firstname.lastname@example.org |
[Depends what your goals are. If it's maximum portability, write it in C.
If you want to get it working quickly, write it in Lisp. -John]
Return to the
Search the comp.compilers archives again.