Programming language design

2011-04-05T09:10:11

I created a programming language and wrote it in my computer. It is an experimental non-professional programming language that I created for fun.

A language needs the most important thing, a compiler.

Is it a good idea to convert the source code to C/++ and call GCC?

My language looks like C++ and Java, it would not be difficult to convert without a parser.

It is not my goal to optimize anything neither to generate a binary for each platform. If I generate a C source, I can compile it for many platforms and use GCC optimizations.

I do not know about tools that may help me, some tools that I know the name are yacc and llvm, but I do not know how they can help me.

The first part of fun is the design of programming language, the second part of fun is the implementation of runtime details. I think that a parser implementation is not a great fun.

Thanks

Copyright License:
Author:「Squall」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/5546076/programming-language-design

About “Programming language design” questions

I created a programming language and wrote it in my computer. It is an experimental non-professional programming language that I created for fun. A language needs the most important thing, a compi...
Are all design patterns described in GOF programming language independent? By programming language I mean any OO language. I see people talking about PHP design patterns, C++ design patterns and ...
I was reading a book named "An introduction to Formal Languages and Automata" by Peter Linz. In one of it's questions, it asked me to, "Design an acceptor for integers in a programming language C" ...
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 cr...
In my ongoing effort to quench my undying thirst for more programming knowledge I have come up with the idea of attempting to write a (at least for now) simple programming language that compiles into
different programming languages have different features or lack certain features. Design patterns are a way to work around those shortcomings. I have seen the books and lists about design patterns in
Sometimes people refer to design patterns as missing programming language features. To avoid the debate about what is a design pattern, let's say we only consider the original GoF patterns. For ins...
Is there any programming language to do graphical layout for semiconductor manufacturing? So far I am using LEdit, an expensive and rudimentary CAD program. As my design is composed of hundreds of
Since I started learning F# and OCaml last year, I've read a huge number of articles which insist that design patterns (especially in Java) are workarounds for the missing features in imperative
I greatly enjoyed Douglas Crockford's recent lecture series, particularly the talk which covered the history of programming languages. I'd like to learn about this subject in more detail. Consider...

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.