hinstance at yandex.ru
Sat Apr 5 15:17:36 CEST 2014
I can already see what for this tool could be possibly used. For
example, one could write ObjectPascal code in Lazarus and then convert
Lazarus IDE code refactoring features like code completion, renaming
identifiers, searching for identifier usages. These features could be
especially useful: renaming functions, renaming variables and code
develops a web application where server side is implemented in
I will try ur tool on my project soon and report then the results; as
soon as I have time.
05.04.2014 13:48, Michael Van Canneyt пишет:
> After many years of dreaming of an open source version of Morfik
> (and more recently Smart Mobile Studio), I've finally committed a
> The unit and the associated unit tests are in
> and a sample converter program in
> This is a limited initial commit. It will convert plain pascal to
> It will not yet convert everything, objects are not yet supported, for
> instance, neither are var arguments. Scope is also an issue. In fact,
> it can convert things that do not need a lot of context - plain
> syntactical conversion, if you want.
> However the engine is IMHO ready for the more serious work. At least
> it shows the ideas underpinning the project.
> This is potentially a big project, which I cannot handle alone (FPC is
> a circle of volunteers, after all). Therefor I'd like to invite people
> to have a look at the code, give remarks, submit patches.
> That said:
> There will also be an effort to let the Free Pascal compiler itself
> - to the best of my abilities - also contribute.
> Why 2 efforts ? The goals of these efforts are not the same:
> - The goal of the compiler is to compile all of pascal.
> The idea is not to convert all existing code to work in the browser
> (depends on the code),
> but rather to be able to program the browser in Object Pascal.
> As a consequence, not all pascal constructs will be supported (pointers,
> direct memory access jump to mind).
> Another matter is that the treshold for understanding the compiler is
> high (I myself don't claim to understand the compiler fully).
> Whereas I believe that understanding this project should be within
> reach of everyone
> that knows object pascal (I may be wrong in this belief, of course ;) )
> they can be compiled to
> depend almost exclusively on the system unit (no classes unit, to name
> but one).
> Feel free to discuss here or mail me in private with more questions.
> fpc-devel maillist - fpc-devel at lists.freepascal.org
More information about the fpc-devel