[fpc-pascal] Re: Get all caller adresses of a given function/procedure before executing
Rainer Stratmann
RainerStratmann at t-online.de
Thu Aug 16 13:40:13 CEST 2012
Am Thursday 16 August 2012 13:24:01 schrieb Jorge Aldo G. de F. Junior:
> If passrc changes, so can ABI and whatever else method you use change
> too...
>
> If i was going to start a project now with multilanguage suport i
> would search for a existing solution or start a new project based on
> passrc.
I did not count the textsnippets in my project.
My philosophy is to have a good ground to make the following things as easy as
possible.
> I dont see how can searching for strings be so hard, you dont even
> need a full fledged parser to do that... having passrc is handy
> because its something standard and already done.
I did not say that it is difficult to search for strings.
> I believe such a tool written using passrc would limit itself to parse
> each source file, put each string found into a global string list and
> replace string instances with a call to a global function like
> GetMyString() with the string entry numer as parameter...
>
> I would even export such strings to an external file to allow fast,
> on-the-fly, language selection...
I have an external file also.
All possible with my solution.
If there is a new unused string in the code then _automatically_ a new entry
is made in this external file. Ready for translation by/over the integrated
(from scratch written) webserver :-)
More information about the fpc-pascal
mailing list