0.0.973 • Published 15 days ago

puzzlelang v0.0.973

Weekly downloads
2
License
MIT
Repository
github
Last release
15 days ago

PUZZLE

Node.js Package

puzzle

PUZZLE as an abstract, extendable programming language.

Important: The puzzle project is in early stage and under development. It's not yet production ready. If you'd like to contribute to the code or the module ecosystem, feel free to open a PR.

Example

// Output something
print 'Welcome future puzzle developer!';

// Include a thrid party module (local or remote)
use 'https://url.com/module.js';

// stora a variable
set name Test;

Get started

PUZZLE runs on JavaScript Engines and can be used on Node, Browsers and via it's CLI.

Install

$ npm i puzzlelang --global

Interactive Shell (CLI)

$ puzzle
$ print "Hello World!"
"Hello World"

Run a File

// hello.puzzle
print "I am a puzzle file"
$ puzzle run hello.puzzle
"I am a puzzle file"

Embedded (JavaScript)

puzzle scripts can also be run inside JavaScript

Node

puzzle.parse('print "Hello, I am embedded"')

Browsers

<script src="https://cdn.jsdelivr.net/npm/puzzlelang@latest/puzzle.browser.js">
// For Node.js
const puzzle = require('puzzlelang');

// For browsers:
<script src="puzzle.js"/>
<script type="text/x-puzzle">
  print "hello from the browser!";
</script>

Contribute

You are welcome to contribute to the puzzle language and ecosystem. Make sure you familiarize yourself with the Contribution Guidelines before opening a PR or Issue.

License

PUZZLE is open source and released under the MIT License.

See the license

Copyright (c) M. Boelling

0.0.973

15 days ago

0.0.972

5 months ago

0.0.971

5 months ago

0.0.968

11 months ago

0.0.970

9 months ago

0.0.969

11 months ago

0.0.967

12 months ago

0.0.966

12 months ago

0.0.957

1 year ago

0.0.956

1 year ago

0.0.964

1 year ago

0.0.962

1 year ago

0.0.961

1 year ago

0.0.965

1 year ago

0.0.960

1 year ago

0.0.959

1 year ago

0.0.958

1 year ago

0.0.952

2 years ago

0.0.951

2 years ago

0.0.950

2 years ago

0.0.955

2 years ago

0.0.954

2 years ago

0.0.949

2 years ago

0.0.87

2 years ago

0.0.88

2 years ago

0.0.89

2 years ago

0.0.948

2 years ago

0.0.947

2 years ago

0.0.942

2 years ago

0.0.941

2 years ago

0.0.946

2 years ago

0.0.945

2 years ago

0.0.944

2 years ago

0.0.943

2 years ago

0.0.90

2 years ago

0.0.91

2 years ago

0.0.92

2 years ago

0.0.93

2 years ago

0.0.94

2 years ago

0.0.84

2 years ago

0.0.85

2 years ago

0.0.86

2 years ago

0.0.81

2 years ago

0.0.82

2 years ago

0.0.83

2 years ago

0.0.76

2 years ago

0.0.77

2 years ago

0.0.78

2 years ago

0.0.79

2 years ago

0.0.73

2 years ago

0.0.74

2 years ago

0.0.75

2 years ago

0.0.67

3 years ago

0.0.70

3 years ago

0.0.71

3 years ago

0.0.72

3 years ago

0.0.66

3 years ago

0.0.65

3 years ago

0.0.62

3 years ago

0.0.63

3 years ago

0.0.64

3 years ago

0.0.60

3 years ago

0.0.61

3 years ago

0.0.59

3 years ago

0.0.58

3 years ago

0.0.57

4 years ago

0.0.56

4 years ago

0.0.54

4 years ago

0.0.55

4 years ago

0.0.53

4 years ago

0.0.52

4 years ago

0.0.51

4 years ago

0.0.5

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.4

4 years ago

0.0.1

4 years ago