[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua language extension for complex number and vector values
- From: Francesco Abbate <francesco.bbt@...>
- Date: Fri, 1 Apr 2011 21:39:42 +0200
2011/4/1 steve donovan <steve.j.donovan@gmail.com>:
> On Fri, Apr 1, 2011 at 4:16 PM, Tony Finch <dot@dotat.at> wrote:
>> Why not compile your language to Lua?
>
> That would definitely be the way to go - for years C++ was compiled via C.
>
> Custom front-ends to a interpreter in rapid development sounds ... hard!
>
> Easier when you can read the compiler output.
Thank you for the suggestion. I think you are right, it is better to
just use Lua as a target language because the development will be
*much* simpler and the overhead will be quite acceptable.
This will have the advantage to allow an easy development & debugging
of the language and the AST implementation can always be implemented
later is the speed is an absolute need.
I believe that a more mathematical oriented language can be useful
because Lua is very well designed and almost perfect in its nature but
being a general purpose language it lacks some specific features that
can be of great importance in a mathematical oriented language.
I will came later with the specification of this new language ;) for
the moment I've just nothing more than a few confused idea :-/
--
Francesco