Skip to content

Conversation

@boriel
Copy link
Collaborator

@boriel boriel commented Dec 3, 2024

No description provided.

boriel and others added 30 commits November 17, 2024 18:44
This test checks memcopy by copying the screen to other RAM
area, clearing the screen, and then recovering it back.
This test is to check in runtime if the READ/DATA/RESTORE
correctly evaluate FP expressions.
fix: Ruff rule RET506 (superfluous-else-raise)
This test checks reading FP expressions from within a
function body.
This test check for READ coercion reading an evaluating an
FP expression and converting it to Fixed.
…d_fail_gracefully

fix: must show error when using READ with no DATA
fix: Ruff rule EXE001 (shebang-not-executable)
Even using StrEnum, while it worked, when showing the help for this
option it was showing the repr() of the instances, not the value.
Also added "bool" (not used yet) for future bool management.
Unbelievably, most of the binary functions where incorrect
(and never used indeed). Fixed the signature of all of them,
and make usage from the translator_inst_visitor.py module.

This allows safe type-checking during editing time!
Each section must start with {{\n
(end of line), inline sections like

IF {{ $1 == $2 }}

are not allowed.
boriel and others added 29 commits November 24, 2024 15:27
…_parser

Fix/fix peephole opt recipe parser
ref: remove shebang from non-executable files
There are some syntax error that were not catched. Fixed.
…_parser

refact: improve typing and improve parsing in opt parser
…t-config

feat: remove unneeded Bitbucket config file
The routine .code.__LEI16 already returns a normalized [0, 1] boolean.
;; The sequence:
;;   sbc a, a   ; A is either 0 or -1
;;   sub 1
;;   sbc a, a
;;   inc a
;; can be replaced by
;;   neg        ; A is either 0 or 1
concretely for core.__LEI8, core.__LTI8, core.__NOT32

Others like AND16 could be converted (saves memory, but reduces
speed). In the future there would be a recipe for that.
…file

ref: remove unneeded Travis config file
@boriel boriel merged commit c0aeda0 into docs Dec 6, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants