Skip to content

Commit

Permalink
v0.5.0 release candidate 1
Browse files Browse the repository at this point in the history
  • Loading branch information
gilch committed Nov 11, 2024
1 parent 9bb8f7d commit 1eaf737
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 30 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ It's Python with a *Lissp*.
Hissp is a modular Lisp implementation that compiles to a functional subset of
Python—Syntactic macro metaprogramming with full access to the Python ecosystem!

[//]: # (RELEASE: refresh toc)
<!-- markdown-toc start - Don't edit this section. Run M-x markdown-toc-refresh-toc -->
**Table of Contents**

Expand Down
2 changes: 0 additions & 2 deletions conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,3 @@ def __contains__(self, item):
parsers=[ParseLissp(optionflags=ELLIPSIS)],
filenames=Globs("*.md", "*.rst", "*.lissp"),
).pytest()

# RELEASE: Run all tests.
4 changes: 1 addition & 3 deletions docs/command_line_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,11 @@ also install the ``lissp`` command-line tool for running Lissp code.
This is a convenience executable for starting ``python -m hissp``,
whose minimal options were modeled after Python's most commonly used:

.. RELEASE: Update (Hissp X.X.X) line.
.. code-block:: Text
usage: lissp [-h] [-i] [-c cmd] [file] [args [args ...]]
(Hissp X.X.X) Starts the REPL if there are no arguments.
(Hissp 0.5.0) Starts the REPL if there are no arguments.
positional arguments:
file Run this file as main script. (- for stdin.)
Expand Down
2 changes: 0 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,3 @@
html_static_path = ["_static"]

intersphinx_mapping = {"python": ("https://docs.python.org/3.10", None)}

# RELEASE: Make sure to clean build docs and check for errors.
9 changes: 2 additions & 7 deletions docs/lissp_whirlwind_tour.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
... __import__('hissp')._macro_)))
.. TODO: Interactive via web repl?
.. RELEASE: Update the ;;;; Installation section.
Lissp Whirlwind Tour
====================
Expand Down Expand Up @@ -49,18 +48,14 @@ Lissp Whirlwind Tour

;;;; Installation

;;; These docs are for the latest development version of Hissp.
;;; Install the latest Hissp version with
;;; $ pip install git+https://github.com/gilch/hissp
;;; Install Hissp from PyPI with
;;; $ pip install hissp==0.5
;;; Uninstall any old versions first,
;;; or start in a fresh virtual environment.
;;; Start the REPL with
;;; $ lissp
;;; You can quit with EOF or (exit).

;;; Most examples are tested automatically, but details may be dated.
;;; Report issues or try the current release version instead.

;;;; Fragment Tokens

;;; To understand Lissp, let's start with some lexical analysis,
Expand Down
10 changes: 1 addition & 9 deletions docs/primer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,9 @@ Confirm your Python version with
(Re-)install the Hissp version matching this document with

.. RELEASE: Rewrite to install from PyPI.
.. code-block:: console
$ python -m pip install --upgrade --force-reinstall git+https://github.com/gilch/hissp
These docs are for the latest development version of Hissp.
Most examples are tested automatically,
but details may be dated.

Report issues or try the current release version instead.
$ python -m pip install --upgrade hissp==0.5
More details about :ref:`installing-index`, :ref:`Python versions <whatsnew-index>`
(or :ref:`implementations`),
Expand Down
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"lisp macro metaprogramming compiler interpreter DSL AST transpiler emacs"
" clojure scheme language minimal REPL metaprogramming macros extensible"
" s-expressions code-generation no-dependencies quasiquote backquote"
" syntax-quote template Hissp Lissp"
" syntax-quote template Hissp Lissp destructuring"
),
packages=setuptools.find_packages("../src"),
package_data={
Expand All @@ -67,7 +67,3 @@
)
# Build dist and install:
# python setup.py bdist_wheel && pip install --force-reinstall setup\dist\hissp-*.whl

# RELEASE: Double-check setup data.
# RELEASE: Clean build macros.py and make sure it's in the .whl.
# RELEASE: Inspect all files in the .whl.
2 changes: 1 addition & 1 deletion src/hissp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
with __import__("contextlib").suppress(ImportError):
from hissp.macros import _macro_

VERSION = "0.5.dev" # RELEASE
VERSION = "0.5.0"


def prelude(env):
Expand Down
1 change: 1 addition & 0 deletions src/hissp/macros.lissp
Original file line number Diff line number Diff line change
Expand Up @@ -4532,4 +4532,5 @@ sentinel#
expr))

;;; Don't let the size of this file intimidate you!
;;; Most of it is documentation with long usage examples.
;;; Only about 10% of the lines are actual source code.

0 comments on commit 1eaf737

Please sign in to comment.