Hacker News new | ask | show | jobs
by hvm 4045 days ago
This looks interesting, I feel it has a lot of potential.

It will be useful with a standard library or a way to link easily to 'outside' functions without having to create (insert?) them in each cat that uses them.

1 comments

Define modifies the prototype, so `cat define 'x' x` should apply to every cat (the docs have an example for making it a local property instead.) I think the larger barrier is that most libraries have functions with optional arguments so you would need to consider how to wrap each one.

But I really don't get the "for JavaScript" mentions. Without at least a pre-transpiled script to download and use as you would any JS, it is "for JavaScript" much like it is "for x86-64 assembly."