[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Viuavm-commits] [SCM] Viua VM branch issue/ce6f5d82/rewrite-assembler u
From: |
git |
Subject: |
[Viuavm-commits] [SCM] Viua VM branch issue/ce6f5d82/rewrite-assembler updated. v0.9.0-2008-g32b4e17 |
Date: |
Sun, 26 Aug 2018 21:31:52 +0200 (CEST) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Viua VM".
The branch, issue/ce6f5d82/rewrite-assembler has been updated
via 32b4e17ec49fd650594ea0b54adb33af6d844646 (commit)
via 3cbf5eb68af5a925e5aa101b2509b3b61bc176b9 (commit)
via 7f32d97d1539ef9da2cc245bd9d73108df2f74b7 (commit)
via 78a5ace21660373fb1351928e691c04e63b2ab6f (commit)
via e63a586d28648dbdb2c3acb7446334d347724cdf (commit)
via 2e8eb3f078789b11ac12100823d4f58d84496938 (commit)
via a00fa2b4b3530869cdd1f724f13303a14d6af925 (commit)
via fb5ea27bf50ee51b75513931828065eebb6e57be (commit)
from cd86bb660cbeb03171e2b8da4c500ada07142adf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 32b4e17ec49fd650594ea0b54adb33af6d844646
Author: Marek Marecki <address@hidden>
Date: Sun Aug 26 20:50:09 2018 +0200
Normalise token stream for "bits" instruction
commit 3cbf5eb68af5a925e5aa101b2509b3b61bc176b9
Author: Marek Marecki <address@hidden>
Date: Sun Aug 26 20:46:33 2018 +0200
Display comments attached to errors
commit 7f32d97d1539ef9da2cc245bd9d73108df2f74b7
Author: Marek Marecki <address@hidden>
Date: Sun Aug 26 20:32:39 2018 +0200
Allow adding comments to errors
Comments (not to be confused with aside notes) will look like this:
blah.asm:42:42: error: some error
blah.asm:42:42: note: some note
40 | move %1 local %0 parameters
41 | move %2 local %1 parameters
>>>> 42 | move %3 local %1 parameetrs
| ^~ ~~~~~~~~~~
| ^ some aside note
|
> a comment
> some more comments
|
43 | ptr %4 local %2 local
44 | atom %5 local 'foo'
Comments will be provided to add a bit of, well, commentary to an error.
Be it an excerpt from the manual, an explanation of what went wrong, a
URL to a page describing the cause of the error in detail, code
examples, etc.
Comments are designed to include longer pieces of text that will fit in
neither notes (which should be used for shorter explanations), nor aside
notes (which should be used for *really* short text, e.g. "did you mean
...?" like messages).
commit 78a5ace21660373fb1351928e691c04e63b2ab6f
Author: Marek Marecki <address@hidden>
Date: Sun Aug 26 20:08:20 2018 +0200
Make Error a class
There is no point in making everything public, only to regret it later.
So let's just hide Error's internals and make them private.
commit e63a586d28648dbdb2c3acb7446334d347724cdf
Author: Marek Marecki <address@hidden>
Date: Sun Aug 26 19:05:08 2018 +0200
Add note including what token was found instead of the expected one
This is especially useful for unexpcted newlines, when they are not
underlined (the error does say "unexpected newline" then, though).
commit 2e8eb3f078789b11ac12100823d4f58d84496938
Author: Marek Marecki <address@hidden>
Date: Sun Aug 26 19:03:54 2018 +0200
Add utility function for making quoted strings
std::quoted() is an io stream manipulator, so it is not usable in
expressions such as:
std::string{"Hello, "} + std::quoted("World!");
commit a00fa2b4b3530869cdd1f724f13303a14d6af925
Author: Marek Marecki <address@hidden>
Date: Sun Aug 26 19:03:14 2018 +0200
Add utility functions for matching binary, octal, and hexadecimal integers
commit fb5ea27bf50ee51b75513931828065eebb6e57be
Author: Marek Marecki <address@hidden>
Date: Sun Aug 26 18:16:41 2018 +0200
Normalise token stream for logic instructions
-----------------------------------------------------------------------
Summary of changes:
include/viua/tooling/errors/compile_time/errors.h | 8 ++-
include/viua/tooling/libs/lexer/classifier.h | 6 ++
include/viua/util/string/ops.h | 1 +
src/tooling/errors/compile_time/Error.cpp | 9 +++
src/tooling/exec/assembler/main.cpp | 19 +++++-
src/tooling/libs/lexer/classifier.cpp | 15 +++++
src/tooling/libs/lexer/normaliser.cpp | 73 ++++++++++++++++++++++-
src/util/string/ops.cpp | 7 +++
8 files changed, 134 insertions(+), 4 deletions(-)
hooks/post-receive
--
Viua VM
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Viuavm-commits] [SCM] Viua VM branch issue/ce6f5d82/rewrite-assembler updated. v0.9.0-2008-g32b4e17,
git <=