Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ are now accepted. Short option ``-f`` is associated with ``-file`` rather than `
Option ``--read`` with alias ``-r`` is now ``-code`` and short option `-c`.

Toggling Autobrace using f4 was fixed.
You can cycle now through pygments styles up using f5 (next style) and f6 (previous style). f1 (help) now show function key

You can cycle now through pygments styles up using f5 (next style) and f6 (previous style). f1 (help) now shows function key
bindings in bottom bar.


Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include README.rst
include NEWS.md
include CHANGES.rst
include ChangeLog
include COPYING.txt
include Makefile
Expand Down
12 changes: 6 additions & 6 deletions mathicsscript/completion.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

# Copyright (C) 2021-2022, 2024 Rocky Bernstein <rb@dustyfeet.com>
# Copyright (C) 2021-2022, 2024-2025 Rocky Bernstein <rb@dustyfeet.com>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
Expand Down Expand Up @@ -28,12 +28,12 @@

SYMBOLS = rf"[`]?({Regex.IDENTIFIER}|{Regex.NAMED_CHARACTER})(`({Regex.IDENTIFIER}|{Regex.NAMED_CHARACTER}))+[`]?"

if False: # FIXME reinstate this
NAMED_CHARACTER_START = rf"\\\[{Regex.IDENTIFIER}"
FIND_MATHICS_WORD_RE = re.compile(
rf"({NAMED_CHARACTER_START})|(?:.*[\[\(])?({SYMBOLS}$)"
)
# # The below is a more precise definition for a Mathics3 "word" or
# # "identifier", but it is wrong somehow. NAMED_CHARACTER_START =
# rf"\\\[{Regex.IDENTIFIER}" FIND_MATHICS_WORD_RE = re.compile(
# rf"({NAMED_CHARACTER_START})|(?:.*[\[\(])?({SYMBOLS}$)" )
FIND_MATHICS_WORD_RE = re.compile(r"((?:\[)?[^\s\[\(\{]+)")

CHARGROUP_START = frozenset(["(", "[", "{", ","])


Expand Down
2 changes: 1 addition & 1 deletion mathicsscript/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# well as importing into Python. That's why there is no
# space around "=" below.
# fmt: off
__version__="8.0.1.dev0" # noqa
__version__="9.0.0.dev0" # noqa
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@ dependencies = [
]
requires-python = ">=3.9"
readme = "README.rst"
license = {text = "GPL-3.0-only"}
license = "GPL-3.0-or-later"
keywords = ["Mathematica", "Wolfram", "Interpreter", "Shell", "Math", "CAS"]
maintainers = [
{name = "Mathics3 Group"},
]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down
Loading