aiscript 0.1.0 copy "aiscript: ^0.1.0" to clipboard
aiscript: ^0.1.0 copied to clipboard

outdated

AiScript parser and interpreter for Dart.

AiScript for Dart #

AiScript parser and interpreter for Dart. Based on the reference implementation (syuilo/aiscript). This library has a very similar API to the original.

AiScript is a lightweight scripting language that was designed to run on top of JavaScript. For more information, check out the original repo's Getting started guide (en)

This package also contains a command line REPL program in bin/repl.dart

Implementation details #

  • Core:v will correspond to the latest AiScript version that this is compatible with (not the library's actual version).
  • Mostly acts the same as the original implementation. If you find any differences, please report it as a bug (unless explicitly specified below).

Non-standard behaviors #

  • Out of range array assignments are allowed for now. Empty spots will be filled with null values.
  • Null safety: All functions must return a Value object. If a function doesn't need to return a value, it must still return a NullValue object.

API reference #

View on pub.dev

Examples #

See /example

License #

MIT

This project's test suite contains code from syuilo/aiscript which also uses the same license.

3
likes
0
points
24
downloads

Publisher

verified publisherleadrdrk.com

Weekly Downloads

AiScript parser and interpreter for Dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

petitparser, uuid

More

Packages that depend on aiscript