pointless-lang / pointless

Pointless: a scripting language for learning and fun
https://ptls.dev
MIT License
122 stars 9 forks source link
dart dynamic-programming education functional-programming interpreter language

Pointless: A Scripting Language for Learning and Fun (v0.1.0)

Why Learn Pointless?

Documentation and examples at https://ptls.dev

Email: contact@ptls.dev

Pointless 0.1.0 brings a number of changes from the initial release, informed by feedback and experience. The latest implementation of Pointless is interpreted, rather than compiled, and is written in Dart. This move marks a deemphasis on performance with a focus instead on improved language design and faster development. It's my hope that the new Dart-based implementation will make Pointless easier for others to install, use, and modify.

New utilities:

Language updates:

Implementation updates:

Site updates:

Installation

You can try Pointless online without installing.
To install Pointless locally, you'll need to have Git installed to clone the repository, as well as the Dart SDK.

Installing on Linux, Mac and Windows (PowerShell):

  1. Clone the repository

    git clone https://github.com/pointless-lang/pointless.git
  2. Enter the repo directory

    cd pointless
  3. Download Dart dependencies:

    pub get
  4. You can now run the Pointless repl using:

    dart lib/pointless.dart

    or supply a path to a file to run; for example:

    dart lib/pointless.dart examples/beer/beer.ptls

    (for repl readline support, try rlwrap)

Compiling the interpreter with dart2native:

Compiling the interpreter avoids the startup overhead of the Dart VM.

After performing the steps above:

Contributions are welcome!