title: Tiny javascript implementation?
body: <p>I need an extremely tiny implementation of (maybe a subset of?) Javascript. Code size and memory usage are extremely important (speed isn't in the question, it can run as slow as it likes). It must be written in C (not C++), and that too, ANSI C (GCC extensions are okay). If it runs on a VM would be best, because I will have to write a compiler for it. Any suggestions?</p>
  
  <p>EDIT: Both of the responses I have seem good, except:</p>
  
  <p>SpiderMonkey concentrates a lot on making it faster, I don't care if its fast at all. <br />
  Quad-Wheel sounds good, except the activity on it, and code comments are few (I will be porting this to another architecture if that helps).</p>
  
  <p>So, any other responses would be great. Or, I could roll out my own simplified version of JS (but that doesn't sound fun at all)</p>