Date: Mon, 7 Jan 2019 13:10:34 -0800 From: Conrad Meyer <cem@freebsd.org> To: Gavin Howard <gavin.d.howard@gmail.com> Cc: Dimitry Andric <dim@freebsd.org>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org> Subject: Re: GNU-compatible, BSD-licensed bc Message-ID: <CAG6CVpUFswqY7SUZC0M5ymEQTYVok7qrmgZcGQ6SDp_EM3uX7A@mail.gmail.com> In-Reply-To: <CAF=dzRNJMvNq0yiPPdWNk-F8--RPX3D6aydLpmLLX3xyvMAoQw@mail.gmail.com> References: <CAF=dzRNnurahLBOaKgq8_bDXNuM8biYPFbj6F2vp0t58Ejp8bg@mail.gmail.com> <A6C4B09B-4156-47A4-89B0-80E8688D59FC@FreeBSD.org> <CAG6CVpU-rgUVvWYDA%2B2qw62hzK1xOEqVwmXGSx2yrfqNMX8e7w@mail.gmail.com> <CAF=dzRNJMvNq0yiPPdWNk-F8--RPX3D6aydLpmLLX3xyvMAoQw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 7, 2019 at 11:46 AM Gavin Howard <gavin.d.howard@gmail.com> wrote: > > On Mon, Jan 7, 2019 at 11:06 AM Dimitry Andric <dim@freebsd.org> wrote: > > That said, are you aware of any great differences between your bc and > > the one originally from OpenBSD? > > Yes. See below for the important one. > > The non-important ones include the fact that I support *every* GNU > extension. That includes array references, void functions, the "halt" > keyword, etc. > >... > > My bc handles the Linux timeconst.bc script with aplomb from 0 to (at > least) 1000. It is part of my test suite, actually. > > You can try it out by running the following command after building my > bc (where BC_ROOT is the root directory of my bc): > > $ "$BC_ROOT/tests/bc/timeconst.sh" /location/of/timeconst.bc > > It won't have any output besides "Running timeconst.bc..." unless it > didn't pass the test. > > Also, this bc builds out of the box on FreeBSD. I have already made > sure of that. Just use: > > $ cd "$BC_ROOT" > $ ./configure.sh -O3 > $ make Gavin, This all sounds great to me. Consider me on-board with the idea. Thanks, Conrad
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpUFswqY7SUZC0M5ymEQTYVok7qrmgZcGQ6SDp_EM3uX7A>