Mattias Gaertner 5b24dcfba6 fcl-js: TJSCallExpression.InsertArg 4 years ago
..
examples 4b4e40c98e fcl-js: added example srcmapdump 8 years ago
src 5b24dcfba6 fcl-js: TJSCallExpression.InsertArg 4 years ago
tests 3336c25699 # 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 5 years ago
Makefile 74aff88586 --- Merging r49045 into '.': 4 years ago
Makefile.fpc 74aff88586 --- Merging r49045 into '.': 4 years ago
Makefile.fpc.fpcmake 74aff88586 --- Merging r49045 into '.': 4 years ago
README.TXT 59bd32b7ea * Initial check-in 15 years ago
fpmake.pp 74aff88586 --- Merging r49045 into '.': 4 years ago

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.