Am 10.08.2018 um 12:14 schrieb Martok:
> What is really missing then is %x for exclusive start conditions, which would
> solve all of that.
Things I never wanted to be able to do: run scanner state machines in my head.
But: turns out adding %x was less work than
finding an alternative solution,
> This is a bit awkward if one has to write the prefix every time...PS - plex
> doesn't define a name for the builtin default state, so even that would not
> actually be possible.
What is really missing then is %x for exclusive start conditions, which would
solve all of that.
Hi all,
this is more of a generic lex question, but since plex doesn't support the flex
extension that could easily fix it, I'm asking here.
Take these lex rules:
--
%start INCOMLINE
%%
"//"start(INCOMLINE);
Thanks, I'll look into this as well.
On Fri, Oct 29, 2010 at 2:19 AM, Thierry Coq wrote:
> Brian,
> thanks for the diff, I'll take it into account and publish an update.
>
> On 28/10/2010 18:50, Brian Winfrey wrote:
> ...
>>
>> The changes I made in this diff were simply to get it to compile.
>>
Brian,
thanks for the diff, I'll take it into account and publish an update.
On 28/10/2010 18:50, Brian Winfrey wrote:
...
The changes I made in this diff were simply to get it to compile.
Subsequently I renamed all files and folders to lowercase, converted
spaces to underscores and added a pre
Hello Brian,
Yes, please send the diff file, so I can look at it. Which platform
(Windows, Linux, FPC) are you using?
Another approach would be to look at (and reverse engineer) the byte
code. If it's not obfuscated, it might even be easier to parse and port
than the native Java.
On 27/10/
On Wed, Oct 27, 2010 at 9:21 AM, Brian Winfrey wrote:
>> there is a port to Lazarus here:
>>
>> http://www.tcoq.org/
>>
>> with some examples. I can help you if needed. The documentation is quite
>> complete.
>
> Thanks it looks interesting, I like the component approach, I will
> take a close loo
Hello Brian,
there is a port to Lazarus here:
http://www.tcoq.org/
with some examples. I can help you if needed. The documentation is quite
complete.
Translating the whole Java language would be very difficult, but
translating only the structure could be done. You would need to write a
gram
I recently saw a semi working example of a Java to Delphi converter
that was done with javacc. Unfortunately it would only convert simple
java (v 1.4 maybe).
Can anyone recommend a good place to start reading or offer any advise
to accomplish this with TPLY.
I am looking into porting some Java l
> Some wish. Please change constant "max_elems" in unit tply\LexBase.pas to
> 1024.
Done in trunk (to 1000 actually)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Some wish. Please change constant "max_elems" in
unit tply\LexBase.pas to 1024.
Thanks
Aleksey Y. Ulasevich (STAKANOV)icq:26493224 http://stakanov.narod.ru
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/
11 matches
Mail list logo