How can I reuse my javascript code between client and server?
- by Chris Farmer
I have some javascript code that includes an ANTLR-generated lexer and parser, and some associated syntax tree evaluation functionality. This code runs in the browser in my web app to support users who author code snippets which process scientific data.
Now I'd like to do some additional background processing on the server using the same…