Recent

Author Topic: pascal parser  (Read 2621 times)

m.abudrais

  • Jr. Member
  • **
  • Posts: 52
pascal parser
« on: October 24, 2015, 08:58:59 am »
hello, i want to parse pascal code, i found two unit pastree and pparser, but i didn't find any doc or simple examples.
 any example or wiki page will be helpful.
thanks in advance.

Thaddy

  • Hero Member
  • *****
  • Posts: 14377
  • Sensorship about opinions does not belong here.
Re: pascal parser
« Reply #1 on: October 24, 2015, 11:59:12 am »
Pas2js can serve as an intermediate but by no means trivial example of how to use pparser and pastree.

Just in case: it is in the utils directory.
« Last Edit: October 24, 2015, 12:00:55 pm by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

m.abudrais

  • Jr. Member
  • **
  • Posts: 52
Re: pascal parser
« Reply #2 on: October 24, 2015, 12:42:43 pm »
as you have said Pas2js not a simple example,i will try to understand it.
thank you.

Thaddy

  • Hero Member
  • *****
  • Posts: 14377
  • Sensorship about opinions does not belong here.
Re: pascal parser
« Reply #3 on: October 24, 2015, 01:04:00 pm »
as you have said Pas2js not a simple example,i will try to understand it.
thank you.

You can also examine the example directory under packages/fcl-passrc
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

m.abudrais

  • Jr. Member
  • **
  • Posts: 52
Re: pascal parser
« Reply #4 on: October 24, 2015, 02:45:58 pm »
OK i will look at it also.
thanks.

 

TinyPortal © 2005-2018