ascript
v1.0.0
Published
A Toy Programming Language
Downloads
5
Readme
AScript
A Toy Programming Language
Same As javascript
Currently In Development
How To Compile
const input = require('ascript/cli/input.js')
input()
- then
node <filename> <ascript filename>
Usage
@!/cli/ascript
$message = "Hello World"
log(message)
fetch("https://httpbin.org/get").then(got =>{
log(got.data)
})
open("https://www.npmjs.com/package/ascript")
/end/#
- writing and reading files
write("file.as", "log("test")")
$text = read("file.as", "ascii)
log(text)
- Importing Module
$express = fetchModule("express")