Thank you, What techiniques have you used in the past that you could
share to get me started?
On Wed, Oct 27, 2010 at 8:04 PM, leledumbo wrote:
>
> Learn compilation technique, a recursive descent parser should be easy to
> understand and code instead of learning automatic lexer and parser
> gene
Learn compilation technique, a recursive descent parser should be easy to
understand and code instead of learning automatic lexer and parser
generator. Plus, structurally, Java is a very simple language, so AST
transformation should be easy. With FPC 2.5.1, almost all Java constructs
can be direct
> I prefer doing this manually, syntax conversion is easy, but library design
> is totally different.
A conversion of the Java code will provide a good starting point I
think. Additionally, learning TPLY or lex/yacc could prove very
useful I think.
Do you have grammer files for syntax conversion
I prefer doing this manually, syntax conversion is easy, but library design
is totally different.
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/TPLY-tp3235828p3236641.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.