fpc/packages/fcl-js
marco 74aff88586 --- Merging r49045 into '.':
C    Makefile
C    Makefile.fpc
--- Recording mergeinfo for merge of r49045 into '.':
 U   .
Summary of conflicts:
  Text conflicts: 2

# revisions: 49045
r49045 | jonas | 2021-03-24 15:33:09 +0100 (Wed, 24 Mar 2021) | 1 line
Changed paths:
   M /trunk/Makefile
   M /trunk/Makefile.fpc

  * support building with FPC 3.2.2

git-svn-id: branches/fixes_3_2@49384 -
2021-05-20 20:03:52 +00:00
..
examples fcl-js: added example srcmapdump 2017-09-20 09:08:07 +00:00
src # revisions: 46324,46400,46451,46452,46508,46509,46512,46513,46515,46516,46517,46518,46662,46663,46686,46687,46704,46705,46723,46724 2020-09-10 13:51:54 +00:00
tests # revisions: 44169,44173,44201,44202,44203,44207,44208,44219,44220,44238,44292,44387,44388,44431,44432,44437,44684,45054,45069,45121,45123,45293,45294,45295,45296,45297,45309,45315,45321,45335,45349,45369,45374,45392,45414,45416,45417,45418,45419,45423,45427,45431,45432,45433,45434,45435,45442,45443,45445,45461,45462,45464,45471,45472,45473,45505,45506,45507,45508,45512,45513,45514,45515,45516,45517,45518,45523,45526,45530,45531,45535,45537,45538,45545,45562 2020-09-10 12:51:33 +00:00
fpmake.pp --- Merging r49045 into '.': 2021-05-20 20:03:52 +00:00
Makefile --- Merging r49045 into '.': 2021-05-20 20:03:52 +00:00
Makefile.fpc --- Merging r49045 into '.': 2021-05-20 20:03:52 +00:00
Makefile.fpc.fpcmake --- Merging r49045 into '.': 2021-05-20 20:03:52 +00:00
README.TXT

This is a package that contains a Javascript Scanner/parser/Syntax tree.

The following units are defined:

jsbase: the definition of Javascript values. Used to represent constant values.
jstree: The Javascript syntax tree elements. Used in the parser to describe a source program
jsscanner: the Javascript scanner. Currently not yet unicode-enabled.
jsparser: the Javascript parser. Builds a complete javascript syntax tree.

The tests directory contains a set of FPCUnit tests to test the scanner and parser.
It needs Lazarus to run.

Todo:
- Add more tests.
- Unicode support.
- Runtime-engine ?

The idea for the tree elements and the parser come from the Libsee library,
written by David Leonard.

Enjoy!

Michael.