muddle-interpreter.git
6 years agoCompute the version number dynamically master
Jason Self [Sat, 17 Mar 2018 19:15:51 +0000 (12:15 -0700)]
Compute the version number dynamically

This creates a generated version number. When not on the master
branch (i.e., a release branch) it uses git describe --tags to return
either the exact release tag or if on a later commit (because there
was a fix made to a released version) then the command returns that
tag plus the number of commits since that tag along with the short
hash. When on the master branch, which has no tags, it returns a
similiar output.

Signed-off-by: Jason Self <j@jxself.org>
6 years agoImplement NTH.
Kaz Wesley [Sat, 10 Feb 2018 02:57:14 +0000 (18:57 -0800)]
Implement NTH.

Signed-off-by: Kaz Wesley <kaz@lambdaverse.org>
6 years agoImplement eval_arg and some builtins.
Kaz Wesley [Sat, 10 Feb 2018 02:19:35 +0000 (18:19 -0800)]
Implement eval_arg and some builtins.

Implement GVAL, SETG, QUOTE, LIST, + (for currently implemented
numeric types), based on an eval_arg mechanism for applicable
operatives.

Signed-off-by: Kaz Wesley <kaz@lambdaverse.org>
6 years agoSupport printing #FALSE values.
Kaz Wesley [Sat, 10 Feb 2018 02:18:19 +0000 (18:18 -0800)]
Support printing #FALSE values.

Add special-case until implementing general non-primtype print.

Signed-off-by: Kaz Wesley <kaz@lambdaverse.org>
6 years agoEndian-aware FIX32 layout.
Kaz Wesley [Sat, 10 Feb 2018 02:15:50 +0000 (18:15 -0800)]
Endian-aware FIX32 layout.

Allows upcasting a FIX32 by reading it as if it were a FIX64.

Signed-off-by: Kaz Wesley <kaz@lambdaverse.org>
6 years agoImplement pool_copy_array
Kaz Wesley [Sat, 10 Feb 2018 02:14:06 +0000 (18:14 -0800)]
Implement pool_copy_array

Forwards version of pool_copy_array_rev.

Signed-off-by: Kaz Wesley <kaz@lambdaverse.org>
6 years agoChange amnesiac GC to no GC
Kaz Wesley [Fri, 9 Feb 2018 19:06:25 +0000 (11:06 -0800)]
Change amnesiac GC to no GC

More interesting for testing.

Signed-off-by: Kaz Wesley <kaz@lambdaverse.org>
6 years agoRemove contributing guide
Jason Self [Thu, 8 Feb 2018 22:56:28 +0000 (14:56 -0800)]
Remove contributing guide

This is now on the website and no longer needs to live inside the
interpreter repository.

Signed-off-by: Jason Self <j@jxself.org>
6 years agoRemove code of conduct
Jason Self [Wed, 7 Feb 2018 18:23:01 +0000 (10:23 -0800)]
Remove code of conduct

This has already been moved to the website and so doesn't need to
also live inside this repository.

Signed-off-by: Jason Self <j@jxself.org>
6 years agoRemove the DCO-style contributor policy
Jason Self [Wed, 7 Feb 2018 17:50:02 +0000 (09:50 -0800)]
Remove the DCO-style contributor policy

It's being moved to the website and so doesn't need to also live
inside this repository.

Signed-off-by: Jason Self <j@jxself.org>
6 years agoImplement global bindings
Kaz Wesley [Sat, 3 Feb 2018 01:40:02 +0000 (17:40 -0800)]
Implement global bindings

Signed-off-by: Kaz Wesley <kaz@lambdaverse.org>
6 years agoAdd missing boilerplate to shell script
Kaz Wesley [Sat, 3 Feb 2018 05:12:35 +0000 (21:12 -0800)]
Add missing boilerplate to shell script

Signed-off-by: Kaz Wesley <kaz@lambdaverse.org>
6 years agoUpdate copyright years
Jason Self [Sat, 3 Feb 2018 04:59:29 +0000 (20:59 -0800)]
Update copyright years

Due to recent commit.

Signed-off-by: Jason Self <j@jxself.org>
6 years agoImplement OBLISTs
Kaz Wesley [Fri, 2 Feb 2018 21:20:06 +0000 (13:20 -0800)]
Implement OBLISTs

Signed-off-by: Kaz Wesley <kaz@lambdaverse.org>
6 years agoDefine UVECTOR and ATOM
Kaz Wesley [Sun, 28 Jan 2018 03:48:14 +0000 (19:48 -0800)]
Define UVECTOR and ATOM

Signed-off-by: Kaz Wesley <keziahw@gmail.com>
6 years agoChange pointers for heap allocation
Kaz Wesley [Sun, 28 Jan 2018 03:48:13 +0000 (19:48 -0800)]
Change pointers for heap allocation

Signed-off-by: Kaz Wesley <keziahw@gmail.com>
6 years agoSet bug-report-address in AC_INIT to mailing list
Jason Self [Fri, 19 Jan 2018 16:07:33 +0000 (08:07 -0800)]
Set bug-report-address in AC_INIT to mailing list

Until/unless a bug reporting system is in place the mailing list
seems an appropriate place.

Signed-off-by: Jason Self <j@jxself.org>
6 years agoUpdate copyright years
Jason Self [Fri, 19 Jan 2018 02:42:04 +0000 (18:42 -0800)]
Update copyright years

Due to recent commits.

Signed-off-by: Jason Self <j@jxself.org>
6 years agoread: implement basic decimal FIXes
Kaz Wesley [Fri, 19 Jan 2018 00:28:42 +0000 (16:28 -0800)]
read: implement basic decimal FIXes

Implement read for FIXes of the form /-?[0-9]+/

Signed-off-by: Kaz Wesley <keziahw@gmail.com>
6 years agoImplement EVAL for LISTs
Kaz Wesley [Thu, 18 Jan 2018 22:25:02 +0000 (14:25 -0800)]
Implement EVAL for LISTs

Signed-off-by: Kaz Wesley <keziahw@gmail.com>
6 years agoDocument documentation license
Kaz Wesley [Wed, 17 Jan 2018 19:42:17 +0000 (11:42 -0800)]
Document documentation license

Fix an oversight.

Signed-off-by: Kaz Wesley <keziahw@gmail.com>
6 years agoUpdate coding style
Jason Self [Sun, 14 Jan 2018 20:39:18 +0000 (12:39 -0800)]
Update coding style

Remove -nut because is not specified as being part of the source code
style. Add -nprsa, -saf, -sai and -saw because they are mentioned in
the Indent manual as being part of the source code style. The GNU
Coding Standards don't mention it in the list of options but I tested
Indent and verified it does this.

Signed-off-by: Jason Self <j@jxself.org>
6 years agoSet up .gitattributes
Jason Self [Sat, 13 Jan 2018 15:30:40 +0000 (07:30 -0800)]
Set up .gitattributes

To exclude undesired files from git archive.

Signed-off-by: Jason Self <j@jxself.org>
6 years agobeginnings of REPL
Kaz Wesley [Sat, 13 Jan 2018 01:02:40 +0000 (17:02 -0800)]
beginnings of REPL

Read and print expressions composed of lists/forms/vectors/the number
4. E.g., (4 <[4] 4 ()>). Eval is a WIP and included but disabled for
now.

Signed-off-by: Kaz Wesley <keziahw@gmail.com>
6 years agoAdd initial contributing guide
Jason Self [Tue, 19 Dec 2017 18:29:13 +0000 (10:29 -0800)]
Add initial contributing guide

The guide aims to provide helpful information like how to submit
patches and where to go for help, along with style and other
information.

Signed-off-by: Jason Self <j@jxself.org>
6 years agoImplement a code of conduct
Jason Self [Sun, 17 Dec 2017 18:15:55 +0000 (10:15 -0800)]
Implement a code of conduct

This helps to set basic expectations, making sure that everyone is on
the same page. It's an important step in establishing a welcome and
inclusive project culture.

This Code of Conduct is adapted from version 1.4 of the Contributor
Covenant at <https://www.contributor-covenant.org>. It's licensed
under CC BY 4.0.

Signed-off-by: Jason Self <j@jxself.org>
6 years agoImplement a DCO-style contributor policy
Jason Self [Sun, 17 Dec 2017 17:28:12 +0000 (09:28 -0800)]
Implement a DCO-style contributor policy

This is a way for contributors to attest to their right to contribute
and the license of the contribution.

This Contributor Policy is based on the Developer's Certificate of
Origin 1.1 from
<http://web.archive.org/web/20060524185355/http://www.osdlab.org:80/newsroom/press_releases/2004/2004_05_24_dco.html>,
which is is (C) 2005 Open Source Development Labs, Inc. and was
originally licensed under CC BY-SA 2.5 and also said that "if you
modify you must use a name or title distinguishable from "Developer's
Certificate of Origin" or "DCO" or any confusingly similar name."

Being that this is a slightly modified version I changed the name to
be a generic "Contributor Policy" and also upgraded the license to
the newer CC BY-SA 4.0.

Signed-off-by: Jason Self <j@jxself.org>