@ianlangs/mathscript
v1.8.0
Published
superset de js
Maintainers
Readme
MathScript
Uso
compilar
msc --init <file list>
msc msconfig.json # o solo msc
ejecutar (un solo archivo)
ms-node main.ms
Configuración
- msc --init <file list> -> genera msconfig.json
- Files -> archivos a traducir
Sintaxis
Funciones
using("module")
fn f(x) {
return x
}compila a:
require("module")
function f(x) {
return x
}variables
var x1 = value
let x2 = value
const x3 = value
//luego, solo con let
immut x2