pilisp_cli 1.0.0-alpha.9 copy "pilisp_cli: ^1.0.0-alpha.9" to clipboard
pilisp_cli: ^1.0.0-alpha.9 copied to clipboard

Shared code for running a rudimentary command-line interface to the PiLisp programming language.

example/pilisp_cli_example.dart

import 'package:pilisp/pilisp.dart';
import 'package:pilisp_cli/pilisp_cli.dart' as pcli;

void main() {
  // NB. The pilisp package ships with piLispEnv as the default.
  pcli.cliMain(piLispEnv, [
    '-e',
    '(+ 1 2 3 4)',
    '(* 5 6 7 8)',
    '(map even? (range 10))',
  ]);
}
0
likes
0
pub points
0%
popularity

Publisher

verified publisherpilisp.dev

Shared code for running a rudimentary command-line interface to the PiLisp programming language.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

async, chalkdart, js, pilisp

More

Packages that depend on pilisp_cli