1
0
Commit Graph

168 Commits

Author SHA1 Message Date
1e4f9ac26f
bytebeat_compiler.py: fix grammar 2024-08-26 21:39:36 +03:00
ee404d1ad2
bytebeat_compiler.py: do not use sys.exit 2024-08-26 19:30:07 +03:00
c6558c8c46
bytebeat_compiler.py: make use of shlex.join
When printing a command that is going to be ran, use `shlex.join(...)`
instead of `" ".join(...)`
2024-08-26 17:43:40 +03:00
e7e290b2f4
b/c...py: notify the user when reading STDIN
Notify the user when the script reads bytebeat code from STDIN
2024-08-26 17:38:58 +03:00
75ede327d6
b/c...py: extract function run_command 2024-08-26 17:36:09 +03:00
dee6773080
b/c...py: use EXIT_SUCCESS and EXIT_FAILURE 2024-08-26 17:30:07 +03:00
c4254b75b4
b/c...py: run the runtime unit after compiling 2024-08-26 17:28:12 +03:00
45be617943
README.md: extend description 2024-08-20 21:58:09 +03:00
dd8b77ab92
README.md: revert the name 2024-08-20 21:57:54 +03:00
021064a23f
fwrite_le.c: remove superfluous semicolon 2024-08-20 19:45:44 +03:00
ffe0f40ea1
use directory bin instead of build 2024-08-20 18:46:47 +03:00
7340e1a576
README.md: add links to both licenses 2024-08-16 20:15:05 +03:00
bbf75baed2
README.md: Unlicense: update the protocol of the link 2024-08-16 20:13:31 +03:00
4adfbe5638
README.md: swap license order and rephrase to clarify 'or' option 2024-08-16 19:57:19 +03:00
1ba391a709
remove gitignore_clean.py 2024-07-26 17:07:07 +03:00
ee2e5c123a
*.py: use a better shebang 2024-07-26 14:26:36 +03:00
7335bb9498
add SPDX license identifiers 2024-07-14 23:39:06 +03:00
cd927b83fb
bytebeat_compiler.py: extract BITS_PER_BYTE 2024-07-14 23:33:01 +03:00
fc5612219d
fwrite_le.c: use malloc instead of calloc 2024-07-14 23:32:57 +03:00
ba5d489352
template.c: simplify file_length calculation 2024-07-13 22:39:36 +03:00
f1f5c2a859
template.c: extract BITS_PER_BYTE
Additionally, do not cast values to `long double` to calculate for
`uintmax_t bit_depth_stretch`
2024-07-13 22:35:35 +03:00
c1ea01869f
README.md: improve license information and reformat 2024-07-06 17:35:27 +03:00
7e68c5e699
README.md: reformat 2024-07-06 17:33:56 +03:00
46b8287278
fwrite_le.h: reduce scope of private macros 2024-07-05 15:21:01 +03:00
3acee16d79
fwrite_le.*: make use of const for ptr 2024-06-18 18:15:32 +03:00
05ccd4bca7
fwrite_le.h: move #includes inside the #ifdef block 2024-06-18 18:14:05 +03:00
11740eed72
EXAMPLE_USAGE.md: update the output 2024-06-16 09:56:53 +03:00
8e0169affb
template.c: output all errors to STDERR 2024-06-03 00:29:45 +03:00
3033eb2b69
template.c: use EXIT_FAILURE instead of 1 2024-06-03 00:28:36 +03:00
c78966cad0
template.c: reformat 2024-06-03 00:21:26 +03:00
9d295685a5
template.c: silent mode fixes 2024-06-03 00:19:08 +03:00
009d6365e7
template.c: merge exact, neighbor conditional compilation 2024-06-02 23:29:29 +03:00
31244bd18d
bytebeat_compiler.py: search for compiler, fix section names
and reformat
2024-06-02 19:34:49 +03:00
81bb2e80b4
bytebeat_compiler.py: add intro 2024-06-02 19:33:30 +03:00
e4c0554420
template.c: remove string junk: fixup 2024-06-02 14:24:35 +03:00
68788a2db2
template.c: fix and improve code explanation 2024-06-01 11:55:44 +03:00
b68475b10d
dual-license under Unlicense and CC0 2024-06-01 11:36:33 +03:00
a62c598c39
fwrite_le.*: rename ifeq_u32_ret to ifeq_b32_ret 2024-06-01 10:01:38 +03:00
24317101c0
template.c: precalculate before loop where applicable 2024-05-19 20:47:38 +03:00
3bab4c8373
bytebeat_compiler.py: rename w to time 2024-05-19 20:44:23 +03:00
f862603642
ANSI_CLEAR refactor 2024-05-19 20:38:06 +03:00
a66901b00d
b/c...py: use subprocess.run instead of os.system 2024-05-19 20:29:13 +03:00
12b85ce454
fwrite_le.c: optimize for step or size equal to 1 2024-05-19 14:23:50 +03:00
9495b0a23e
fwrite_le.*: refactor 2024-05-19 13:58:26 +03:00
7efc6b77f5
template.c: fix MAX calculation 2024-05-19 13:21:09 +03:00
3217ac0763
template.c: restore missing newline character 2024-05-19 13:05:38 +03:00
9be6408890
b/c...py: optimize adding . before paths 2024-05-19 12:46:19 +03:00
162e6b880c
template.c: reformat 2024-05-19 12:39:18 +03:00
91dddefc7b
b/c...py: fix terminology: Solve -> Resolve 2024-05-19 12:35:18 +03:00
0be65f7dd2
move *.h to include/ 2024-05-19 12:34:15 +03:00