fpc/packages/fcl-js
Mattias Gaertner cbee1110e4 fcl-js: fixed writing multi add
git-svn-id: trunk@49048 -
(cherry picked from commit 5eda61e136)
2021-08-16 17:12:09 +02:00
..
examples fcl-js: added example srcmapdump 2017-09-20 09:08:07 +00:00
src fcl-js: fixed writing multi add 2021-08-16 17:12:09 +02:00
tests fcl-js: fixed mem leak 2021-08-16 17:12:09 +02: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.