node-gblk
v0.0.284
Published
GBLK language fully written in node.js
Downloads
14
Maintainers
Readme
🚨 We're currently working on gblk edition-2 as compiled language!
join our discord server for more information.
print(fibbonaci(7)) -- 21
print(piramid(10))
print(obj -> suspect -> 1) print(obj -> suspect -> 2) print(obj -> nama) print(obj)
API
const gblk = require("node-gblk")
const skrip = `print("Hello world")`
gblk
.runTerminal(skrip, "./indeks.gblk")
.then(console.log)
CLI Usage
Install package as global npm i -g node-gblk
Run command gblok run <filepath>
gblok
: command to run files
- gblok help Show list commands
- gblok run index.gblk Run gblk file
- gblok repl Run gblk in REPL mode (directly compile in stdin)
gpm
: command to install and manage packages
- gpm help Show list commands
- gpm init Initialize sample project folder
- gpm login Login to our package manager
- gpm install module:versi Install module with specified version
- gpm publish Publish module to our package manager
Make sure to install this package globally to use CLI commands
Package Manager (beta)
https://gbpm.fastering181.repl.co
Register an account, publish packages