Skip to content

Commit

Permalink
release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mwojnars committed Sep 16, 2021
1 parent 7d82ba1 commit 31b6a08
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## *upcoming*

- ...

## [1.2.0] - 2021-09-16

- Non-standard operator `<>` can be used as an alternative for `!=`
to avoid ambiguity with a verbatim block mark (`!`) inside `if` blocks.
- Shortcut attributes `.CLS` and `#ID` no longer need spaces around,
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = hypertag-lang
version = 1.1.4
version = 1.2.0
author = Marcin Wojnarski
author_email = hypertag@paperity.org
description = Modern language for markup generation with Python-like concise syntax, custom tags & Django integration. HTML templates reinvented.
Expand Down
3 changes: 0 additions & 3 deletions src/hypertag/core/grammar.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@
embedding_braces = '{' ws expr_augment ws '}' qualifier?
embedding_eval = mark_eval !mark_eval expr_var
embedding_or_expr_augment = embedding / expr_augment
#embedding_or_factor = embedding / expr_factor
### ATTRIBUTES of tags
Expand Down
6 changes: 3 additions & 3 deletions tests/sandbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@
text = r"""
# import $os
# | $os
$l = [1]
$l.append(2)
| $l
"""
text = r"""
try: p | text
"""

root = RootModule(runtime = HyperHTML(), filename = __file__, package = __package__)
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Test, build & upload to PyPI:
# $ tox -r
# $ sudo tox -r
# $ python3 -m build
# $ python3 -m twine upload dist/* -- use __token__ as username

Expand Down

0 comments on commit 31b6a08

Please sign in to comment.