2.0.7 • Published 3 days ago

paisley v2.0.7

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
3 days ago

The Paisley Compiler

A grindy javascript precompiler created to provide zero-cost abstractions and added user convenience.

Endpoint Badge Static Badge

Installation

Install Paisley like you would any other node module.

$ npm i paisley -g

Usage

Paisley is run with the syntax paisley [file.sly] options.

$ paisley example.sly --debug true

Syntax

Paisley uses a clean, c-style syntax for writing javascript. Here is a simple example:

#define constant [300]
#macro add[x, y] [x + y]

console.log(add(constant, 200)); // Logs "500"

Errors

Paisley values highly readable error messages.

This allow users to catch mistakes at compile-time instead of runtime in a manner that is easier to debug.

Error Message Example 1 Error Message Example 2 Error Message Example 3

Documentation

Paisley's documentation is included with the compiler, and can be located using paisley --docs.

Licensing

Paisley is licensed under the GPL-3.0. A copy is included with the compiler, and can be located using paisley --license.

2.0.3

4 days ago

2.0.2

4 days ago

2.0.5

4 days ago

2.0.4

4 days ago

2.0.7

3 days ago

2.0.6

4 days ago

2.0.1

4 days ago

2.0.0

4 days ago

1.5.2

5 months ago

1.5.1

5 months ago

1.5.0

5 months ago

1.4.5

5 months ago

1.4.4

5 months ago

1.4.3

5 months ago

1.4.2

6 months ago

1.4.1

6 months ago

1.4.0

6 months ago

1.3.2

6 months ago

1.3.1

6 months ago

1.3.0

6 months ago

1.2.2

6 months ago

1.2.1

6 months ago

1.2.0

6 months ago

1.1.2

6 months ago

1.1.1

6 months ago

1.1.0

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago