Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > Re: Introduce a...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 2417 of 2472
Post > Topic >>

Re: Introduce a C Compiler ucc

by "Razvan Aciu" <admin@[EMAIL PROTECTED] > May 12, 2008 at 11:43 AM

I think this is a great job. Keep it going!

There is now a tendency to write C compilers using more liberal licences
than GPL, which is used by gcc.
Examples: http://clang.llvm.org/
and http://pcc.ludd.ltu.se/
They can be used even as libraries for different purposes like backends
for
advanced code generators to C, code checkers, IDE syntax highlighting,
etc.
Probably all of these compilers are much easier to integrate in other
projects than gcc.

For ucc if someone can contact the developer, I have a suggestion: please
do
not target MASM for the assembly generated code, because the MASM licence
restricts MASM redistribution both for free or commercial projects so it
will render ucc useless to developers who want to distribute ucc or use
ucc
as part of other packages. I don't even know if you have the right to
include ml.exe in the ucc package. It is much better to generate assembly
for NASM ( http://sourceforge.net/projects/nasm
) (it can also be used in
linux or MacOS as a gas replacement), YASM (
http://www.tortall.net/projects/yasm/
) (also NASM compatible) or FASM (
http://flatassembler.net/
) (this is written in assembly so it can't be
interfaced with C programs as a library).

Razvan

"dreamAnders" <dream_anders@[EMAIL PROTECTED]
> wrote in message
> ucc is an ANSI C Compiler. Its code size is about 15,000 lines.
> The lexer, parser and code generator are all hand-written.
> The code structure is very clear and straightforward. And there is an
> interesting value numbering algorithm.
> It also has a do***ent explaining the internal implementation.
> If you are interested at this compiler, you can download it from
> http://sourceforge.net/projects/ucc
 




 5 Posts in Topic:
Introduce a C Compiler ucc
dreamAnders <dream_and  2008-05-10 18:13:59 
Re: Introduce a C Compiler ucc
karel <gress@[EMAIL PR  2008-05-10 23:46:20 
Re: Introduce a C Compiler ucc
"Alex L.K" <  2008-05-11 18:33:38 
Re: Introduce a C Compiler ucc
karel <gress@[EMAIL PR  2008-05-11 22:04:50 
Re: Introduce a C Compiler ucc
"Razvan Aciu" &  2008-05-12 11:43:57 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 0:10:07 CDT 2008.