08ea118dc6
core: WIP - Add tracer runtime
2024-09-11 16:41:00 +08:00
59cad5bfe1
standalone: clang-format demo.c
2024-08-29 10:37:24 +08:00
600a5c8679
Revert "standalone: reformat demo.c"
...
This reverts commit 308edb8237
.
2024-08-27 23:06:49 +08:00
308edb8237
standalone: reformat demo.c
2024-08-27 22:55:22 +08:00
32e52ce198
standalone: Revert using uint32_t as slice length
...
Turns out list and str have always been size_t.
2024-07-29 14:58:29 +08:00
ed1182cb24
standalone: Update format specifiers for exceptions
...
Use platform-agnostic identifiers instead.
2024-07-26 13:32:37 +08:00
fd025c1137
standalone: Use uint32_t for cslice length
...
Matching the expected type of string and list slices.
2024-07-26 13:32:21 +08:00
1a31a50b8a
standalone: fix __nac3_raise def in demo.c
2024-07-17 21:22:08 +08:00
f47cdec650
standalone: Fix output format of output_range
2024-07-09 13:55:48 +08:00
25d2de67f7
standalone: Add output_range and tests
2024-07-09 04:44:40 +08:00
9238a5e86e
standalone: Rename output_str to output_strln and add output_str
...
output_str is for outputting strings without newline, and the newly
introduced output_strln now has the old behavior of ending with a
newline.
2024-07-09 04:44:40 +08:00
9c9756be33
standalone: Use size_t in demo.c
2024-01-25 15:50:53 +08:00
ab3fa05996
demo: use portable format strings
2024-01-10 18:35:35 +08:00
f01d833d48
standalone: Add missing parenthesis
2023-12-20 15:15:47 +08:00
98199768e3
demo: fix 64-bit format strings
2023-12-04 18:51:06 +08:00
447eb9c387
standalone: Fix output format string for output_uint*
2023-11-03 16:24:26 +08:00
60ad100fbb
core: Implement and expose {isinf,isnan}
2023-11-01 18:03:29 +08:00
630897b779
standalone: Do not output sign if float is NaN
...
Matches behavior in Python.
2023-11-01 18:03:29 +08:00
bb27e3d400
standalone: Fix indentation of demo.c
2023-11-01 13:20:26 +08:00
c7de22287e
core: Fix restoration of stack address
...
All allocas for temporary objects are now placed in the beginning of the
function. Allocas for on-temporary objects are not modified because
these variables may appear in a loop and thus must be uniquely
represented.
2023-10-06 11:34:23 +08:00
c5629d4eb5
standalone: Remove redundant const in demo library
2023-10-06 10:32:58 +08:00
a79286113e
standalone: Add output_bool in demo library
2023-10-06 10:19:22 +08:00
be3e8f50a2
standalone: Refactor demo library to C
...
Needed for use by lli.
2023-09-30 09:31:18 +08:00
096193f7ab
demo: rewrite in Rust
2022-01-09 10:51:10 +08:00
69b9ac5152
nac3standalone: consistent naming
2021-12-13 11:19:11 +08:00
ccfcba4066
nac3standalone: add output_long
2021-12-13 10:44:33 +08:00
956cca6ac8
cleanup demos
2021-09-22 14:57:13 +08:00