-
Notifications
You must be signed in to change notification settings - Fork 6
Home
ccckmit edited this page Jul 25, 2022
·
6 revisions
Script1 is a meta programming language that can be translated to JavaScript / Python / Dart.
You may use the translator s1 to translate script1 code *.s1
into *.js
*.py
*.dart
.
file: hello.s1
name:='script1'
log('hello', name)
translate & run
$ ./s1 -m prog/hello.s1 -o out/hello.js
$ deno run out/hello.js
hello script1
$ s1 -m hello.s1 -o hello.py // output python
$ python hello.py // run hello.py
hello script1
$ s1 -m hello.s1 -o hello.dart // output dart
$ dart run hello.dart // run hello.dart
hello script1
©2022 Script1 contributors. The content on this website is made available under the MIT license.