From owner-freebsd-arch@freebsd.org Tue Jan 8 07:56:40 2019 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDEE4149350D for ; Tue, 8 Jan 2019 07:56:39 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3825574361; Tue, 8 Jan 2019 07:56:39 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (etoilebsd.net [178.32.217.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 13A952D1D5; Tue, 8 Jan 2019 07:56:39 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id 7CB73C8619; Tue, 8 Jan 2019 08:56:37 +0100 (CET) Date: Tue, 8 Jan 2019 08:56:37 +0100 From: Baptiste Daroussin To: Conrad Meyer Cc: Gavin Howard , Dimitry Andric , "freebsd-arch@freebsd.org" Subject: Re: GNU-compatible, BSD-licensed bc Message-ID: <20190108075637.s4j5ntm7pygkjvip@ivaldir.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jawj4q4ozx3rnqet" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716 X-Rspamd-Queue-Id: 3825574361 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.97)[-0.966,0]; NEURAL_HAM_LONG(-1.00)[-0.997,0]; TAGGED_RCPT(0.00)[]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2019 07:56:40 -0000 --jawj4q4ozx3rnqet Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 07, 2019 at 01:10:34PM -0800, Conrad Meyer wrote: > On Mon, Jan 7, 2019 at 11:46 AM Gavin Howard w= rote: > > > > On Mon, Jan 7, 2019 at 11:06 AM Dimitry Andric 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 >=20 > Gavin, >=20 > This all sounds great to me. Consider me on-board with the idea. >=20 Nice, Count me on board as well :) Best regards, Bapt --jawj4q4ozx3rnqet Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAlw0V7AACgkQY4mL3PG3 Plrnyg/8Cb7Tdg1iIX32avgNBtYS5D1k1EhsbbsKOAvdCSeGNyF4m1wi338gj26N JGtuUva8AkU4RQkeFg8Y9m7MjWWUXW0J7E8OCJyccbSR0DHsKV6+Kdo5A0c2XNui didhvJDz8Qf4R/kjZdbxZ0/CeYegSkL0Mr2+3w3aZTMP/k1jnrLsa943yT4AjZEH I7CFp3OvvtWBL0Vh4p9sLXO2+Pcaw4IhJdZeewfhQTAIeAAn0fLmxO/B1Mmknsl3 MeJXzvJPxYnGjlNL0Dy8kmcV4CP+f4P3GvKk8BdhkSnLf7IUP8HOrschY4QQKpCA XEmQSa2zNiYcFkETm01Mihjpp9JPTisu3oli2arZFRD7hir5GRssJPdW3fbvWMie wcZ/tujBUwY0YLqyQGPB4KKFUb33/q9ULzIe9jZMstrPxPGfYl79V6HZ9fJaAOR9 n+wFKtqSdPh2pSKuaaDGJQyv3Ms1IaK3V+ecGqJ2mGgElBFdMcd3D6SauCDdxa1H EeCLE5Uo1D8ozKn7jAmHnq5gwtCA/BDtN8296X5UuYCFYTz3zPuU/mtHifhbh8Ti FQmUIl1yz7ZQvB2GHlODitbjQ3VnHDdnoEmiO2z6ky5xMCNC1Z8x5OTxc1I907a0 +OD5huYiIVqoLSa8fURuxrVUoOODgJ73WgitiIJ7yht0WSvtVNE= =xMUd -----END PGP SIGNATURE----- --jawj4q4ozx3rnqet--