Skip to content

Commit c6521d2

Browse files
v0.5.2 release
1 parent f4fe0c0 commit c6521d2

File tree

4 files changed

+32
-3
lines changed

4 files changed

+32
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Changes that are planned but not implemented yet:
2020

2121
## [Unreleased]
2222

23+
## [0.5.2]
2324
- Added support for instruction aliases: you can now specify an `aliases` field (a list of alternative mnemonics) in an instruction's configuration. All aliases are globally unique, are accepted as valid mnemonics in assembly source, and generate the same code as the root mnemonic. This does not apply to macros.
2425
- Added `#print` preprocessor directive for compile-time messages with optional verbosity gating and honoring conditional/mute controls.
2526
- Added Vim syntax highlighting generator via `bespokeasm generate-extension vim`. This creates Vim `syntax/` and `ftdetect/` files for your ISA.
@@ -188,7 +189,8 @@ First tracked released
188189
* Enabled the `reverse_argument_order` instruction option be applied to a specific operand configuration. This slightly changed the configuration file format.
189190
* Added ability for instructions with operands to have a single "empty operand" variant, e.g., `pop`
190191

191-
[Unreleased]: https://github.com/michaelkamprath/bespokeasm/compare/v0.5.1...HEAD
192+
[Unreleased]: https://github.com/michaelkamprath/bespokeasm/compare/v0.5.2...HEAD
193+
[0.5.2]: https://github.com/michaelkamprath/bespokeasm/compare/v0.5.1...v0.5.2
192194
[0.5.1]: https://github.com/michaelkamprath/bespokeasm/compare/v0.5.0...v0.5.1
193195
[0.5.0]: https://github.com/michaelkamprath/bespokeasm/compare/v0.4.2...v0.5.0
194196
[0.4.2]: https://github.com/michaelkamprath/bespokeasm/compare/v0.4.1...v0.4.2

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "bespokeasm"
7-
version = "0.5.2b4"
7+
version = "0.5.2"
88
authors = [
99
{ name="Michael Kamprath", email="[email protected]" },
1010
]

src/bespokeasm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
BESPOKEASM_VERSION_STR = '0.5.2b4'
1+
BESPOKEASM_VERSION_STR = '0.5.2'
22

33
# if a cconfig file requires a certain bespoke ASM version, it should be at least this version.
44
BESPOKEASM_MIN_REQUIRED_STR = '0.5.0'

src/bespokeasm/configgen/vscode/resources/snippets.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,32 @@
3636
"prefix": [
3737
"#require"
3838
]
39+
},
40+
"create-scope": {
41+
"body": [
42+
"#create-scope \"$1\" prefix=\"$2\""
43+
],
44+
"description": "Create a named label scope with custom prefix",
45+
"prefix": [
46+
"#create-scope"
47+
]
48+
},
49+
"use-scope": {
50+
"body": [
51+
"#use-scope \"$1\""
52+
],
53+
"description": "Activate a named label scope",
54+
"prefix": [
55+
"#use-scope"
56+
]
57+
},
58+
"deactivate-scope": {
59+
"body": [
60+
"#deactivate-scope \"$1\""
61+
],
62+
"description": "Deactivate a named label scope",
63+
"prefix": [
64+
"#deactivate-scope"
65+
]
3966
}
4067
}

0 commit comments

Comments
 (0)