Possible duplicate: Tiny javascript implementation?
I searched around the C implementation of Javascript, but I could not find it. I need this for an ultraportable application that will work on platforms without a C ++ compiler.
Here are my requirements:
- ANSI C (possibly compatible with C89)
- Minimal Dependencies
- Built-in (not standalone)
- Open Source (GPL v2 compatible)
I don't care about speed, but correctness is a problem. I would prefer it to support ECMAScript-262 v5, but v3 is good enough now.
Is there something similar? If not, are there any implementations that would be relatively easy to port?
DMDScript is the easiest I have found, so I can port it. There seems to be no reference implementation , so this might be the best way.
Note:
I also found tiny-js , which should be small and simple, but it doesn't seem to be up to standard. He is actively developingseems ...
source
share