Joel Reymont <joelr1_at_gmail.com> forth compiler for a pascal-like trading language
> On Jan 31, 2010, at 10:25 AM, Marcel Hendrix wrote:
>> From your description I would expect it to be able to compile itself,
> What do you mean?
Pascal compilers are written in Pascal (at least, Wirth's).
The idea is that the compiling Pascal is less powerful than the
one being written. Lather, rinse, repeat.
>> and I also expect that the higher-level parts of the trading system are
>> written in the language itself.
> The trading system itself is written in the trading language. Here's an
> example of the auto-generated C# from my previous translator. The
> original trading language code is at the bottom of the post.
> http://groups.google.com/group/topdog/browse_thread/thread/d5fd8feac8e68331
The C# part is not relevant. The Ekal looks like Pascal/Modula with special
functions. The special functions are written in Ekal, which is written in some
basic Pascal. So I only need to provide you with a basic Pascal (implemented in
Forth)?
> I'm considering writing my new compiler in Forth. The 'runtime' of the
> new platform, i.e. the code dumped into the DLL would be written in
> Forth.
So far (until your next posting :-) it looks doable.
>> So what is the minimal requirement for the language basics?
> Can you please clarify?
Do you have an EBNF of the lowest level Pascal?
Hmm, I see you have keywords with spaces :-(
But (probably) no user extensibility, so the list is finite and known beforehand :-)
-marcel
----------------------------------------------------------------------
sftalk_at_forth.com The SwiftForth programming discussion email list
To unsubscribe, send subject "unsubscribe" to sftalk-request_at_forth.com
For list command help, send subject "help" to sftalk-request_at_forth.com
Message archives are located at http://www.forth.com/archive/sftalk
----------------------------------------------------------------------
This list is a forum for SwiftForth users. For product support and
bug reports, please send email to support_at_forth.com
----------------------------------------------------------------------
Received on Sun Jan 31 2010 - 03:39:54 PST
Subscribe to our e-mail list service. It's free for all SwiftForth and SwiftX users!
This archive was generated 08-Feb-2012. Archive updated nightly.