maxtaco / coffee-script

IcedCoffeeScript
http://maxtaco.github.com/coffee-script
MIT License
728 stars 58 forks source link

library language features/extensions... #6

Open flynx opened 12 years ago

flynx commented 12 years ago

This is just a suggestion of a possible direction for coffee-script extension.

Make language extensions (like iced) live in a library instead of parallel forks/branches of the compiler.

benefits:

the considerations that need to be made to make this worth while / convenient:

// beginning of file...
use CoffeeScript extension ICED

// user code...
...

X-posted: https://github.com/jashkenas/coffee-script/issues/2080

flosse commented 12 years ago

+1