1.4.0 • Published 4 years ago

johnscript v1.4.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Synopsis

Hello, and welcome to JohnScript. Offered as a Node module that exposes a command-line tool function to execute instructions.

API usage:

// Import the module
const example = require('./js');

// Use of API function CLI
example.cli();

Data types

Unsigned integer

Available programming instructions

// Enter in 'exit' to exit the interactive CLI at any time

// Setting a variable
exampleVar = 10

// Setting a const variable
const exampleConst = 20

// Re-assigning a variable
exampleVar = 5

// Evaluating simple booleans using eval
eval 5 < 5
eval 10 > 0

// Output a variable or positive integer to program output console
print exampleVar
print exampleConst
print 123456
1.4.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago