The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Overview

This is an implementation of 'POSIX bc'. It is based on Python classes generated by ANTLR.

Why Parrot bc

Self education. A fairly simple language but has symbols and subroutines. Test for decimal bignum libraries. A starting point for more interesting languages like R, GDL.

Vision

Do the code generation like bc -> PIL -> PIR Be compatible with Pirate and Pugs. Switch to Perl6 after Gary Evans has made a Perl6 backend for ANTLR.

SEE ALSO

http://www.funet.fi/pub/doc/posix/p1003.2/d11.2/4.3 http://en.wikipedia.org/wiki/Bc_%28Unix%29 http://parrotcode.org http://pugscode.org http://pirate.tangentcode.com/ http://www.javadude.com/articles/antlrtut/