0.37.2 • Published 5 months ago

@syndicate-lang/loader v0.37.2

Weekly downloads
-
License
GPL-3.0+
Repository
-
Last release
5 months ago

@syndicate-lang/loader

Node pre-require module that hooks Module._load and Module.prototype._compile to translate required modules on-the-fly from Syndicate/JS syntax to plain CommonJS:

node -r @syndicate-lang/loader FILENAME.js

You can also use it to run standalone Syndicate/JS scripts:

#!/usr/bin/env -S node -r @syndicate-lang/loader

spawn named 'test' {
  console.log('hello');
  on stop console.log('goodbye');
}

Licence

@syndicate-lang/loader, Syndicate/JS node.js loader hook Copyright (C) 2023 Tony Garnock-Jones tonyg@leastfixedpoint.com

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

0.37.2

5 months ago

0.37.0

9 months ago

0.36.4

10 months ago

0.35.5

1 year ago

0.36.3

12 months ago

0.35.4

1 year ago

0.36.2

12 months ago

0.35.3

1 year ago

0.36.1

12 months ago

0.35.2

1 year ago

0.36.0

1 year ago

0.35.9

1 year ago

0.35.8

1 year ago

0.35.7

1 year ago

0.36.5

10 months ago

0.35.6

1 year ago

0.35.1

1 year ago

0.35.0

1 year ago

0.34.0

1 year ago

0.33.0

1 year ago

0.32.0

1 year ago

0.31.1

1 year ago

0.31.0

1 year ago

0.31.2

1 year ago

0.30.1

1 year ago

0.30.0

1 year ago

0.29.0

1 year ago

0.28.2

1 year ago

0.28.1

1 year ago

0.27.1

1 year ago

0.27.0

1 year ago

0.26.2

1 year ago

0.26.1

1 year ago

0.26.0

1 year ago

0.25.0

1 year ago

0.24.0

1 year ago

0.23.0

2 years ago