[fpc-pascal] pas2js Webgl unit committed

Michael Van Canneyt michael at freepascal.org
Tue May 1 14:49:11 CEST 2018



On Tue, 1 May 2018, Ryan Joseph wrote:

>
>
>> On May 1, 2018, at 7:40 PM, Michael Van Canneyt <michael at freepascal.org> wrote:
>> 
>> 
>> Hi,
>> 
>> See subject. Rev 83 in pas2js subversion.
>> 
>> I have no experience with webgl, so if someone could provide several
>> examples which I can include in the demo folder of pas2js, please post on
>> the pas2js mailing list or send them to me in private.
>> 
>> They would be highly appreciated.
>> 
>> Obviously, if you spot any errors in the import class, please let me know :)
>> 
>> Michael.
>> _______________________________________________
>> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
>> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
> How did you end up parsing it?

I didn't. Some Regexps in an editor did the job handsomely...

If you want to see some examples of parsers: look at the jsonparser (json
parsing), pparser (pascal parsing) and jsparser (Javascript) units. The
associted scanner units are really easily understood and resemble each other
closely.

Michael.


More information about the fpc-pascal mailing list