1
0
Commit Graph

49 Commits

Author SHA1 Message Date
c9825b9122
bytebeat_compiler.py: use cc instead of gcc as default compiler 2024-04-14 01:38:48 +03:00
6c16e2911c
bytebeat_compiler.py: add more CFLAGS 2024-01-27 14:01:49 +03:00
76384284fe
bytebeat_compiler.py: break on invalid mode 2024-01-12 20:53:25 +03:00
c6d9d833d0
b/c...py: use term specified for length 2024-01-12 20:52:20 +03:00
01efd27e07
bytebeat_compiler.py: fix None value bug 2024-01-11 23:03:45 +03:00
d326f32193
bytebeat_compiler.py: fix sample rate logic 2024-01-10 04:08:05 +03:00
d1906f0dc1
template.c: add sequential mode and set as default 2024-01-10 04:07:15 +03:00
bf67c9cce2
bytebeat_compiler.py: optimize the condition 2024-01-09 23:19:38 +03:00
8e68c840a1
bytebeat_compiler.py: fix condition bug 2024-01-09 23:14:48 +03:00
89bc7466ff
bytebeat_compiler.py: add CFLAGS_EXTRA 2024-01-09 23:09:02 +03:00
0654aec5d1
bytebeat_render.c: add custom output 2024-01-09 20:04:33 +03:00
c593b3e3b4
bytebeat_compiler.py: format: humanize indentation 2024-01-09 18:36:27 +03:00
c32ebba8e0
b/c...py: subst.: add type hints for replacements 2024-01-09 18:35:28 +03:00
c2b67077b2
b/c...py: call preprocessor_bool in substitute_vars 2024-01-09 18:34:12 +03:00
d045eb7355
bytebeat_compiler.py: extract preprocessor_bool 2024-01-09 18:20:27 +03:00
65fac992d6
bytebeat_compiler.py: format: fix indentation 2024-01-09 18:20:06 +03:00
fad6b895bb
b/c...py: extract sample rate conv. optimizations 2024-01-09 18:14:32 +03:00
bd53ac920f
bytebeat_compiler.py: add verbose mode for subst. 2024-01-09 18:04:26 +03:00
2f346e7f5f
template.c: extract return type setting 2024-01-09 17:35:27 +03:00
16126c0b98
bytebeat_compiler.py: add argument -std=c99 2024-01-09 17:00:55 +03:00
0ff125b5f0
bytebeat_compiler.py: grammar: "Uses" -> "Accepts" 2024-01-09 16:48:34 +03:00
51236ab9c3
bytebeat_compiler.py: save file in UTF-8 w/o BOM 2024-01-09 15:54:02 +03:00
073b9a04f4
bytebeat_compiler.py: function fetch: simplify code 2024-01-07 02:20:42 +03:00
a473c1f39a
bytebeat_compiler.py: add -Wno-parentheses 2024-01-05 03:09:20 +03:00
9b9a4d9631
bytebeat_compiler.py: flush before calling command 2024-01-02 18:14:04 +03:00
8327678c44
bytebeat_compiler.py: make paths more native 2024-01-02 18:13:28 +03:00
a192380d10
bytebeat_compiler.py: don't concatenate env. variable 2024-01-02 18:12:34 +03:00
aa5f7359c2
bytebeat_compiler.py: don't use "path_to_*"
Formatting: Replace all whitespaces to tabulation characters
2023-12-30 15:44:50 +03:00
0f20974908
bytebeat_compiler.py: add ./ before compilation paths 2023-12-30 15:40:37 +03:00
f9ce5faa60
bytebeat_compiler.py: show executed command 2023-12-30 15:32:41 +03:00
e0ac4c3bf9
bytebeat_compiler.py: add flag -Wno-dangling-else 2023-12-30 15:32:07 +03:00
df91110d80
template.c: add support for big-endian machines 2023-12-30 15:31:11 +03:00
8c758e1224
bytebeat_compiler.py: fix name: CC_FLAGS -> CFLAGS 2023-12-30 14:57:32 +03:00
e0a9e7f7ef
bytebeat_compiler.py: use name CFLAGS instead of CC_FLAGS 2023-12-24 20:05:48 +03:00
43b065c0fa
bytebeat_compiler.py: append to env. arguments 2023-12-24 19:20:47 +03:00
53bc4c504c
b/c...py: add compiler flags to ignore unused vars 2023-12-05 18:37:50 +03:00
ca019b8fe8
b/c...py: substitute multiple variables at once 2023-12-03 15:55:08 +03:00
8df2334bc4
CLI: extend description for argument file 2023-12-03 15:44:59 +03:00
da3b0e8e40
add CLI argument -l / --samples, adjust logic
bytebeat_compiler.py: add argument `-l` / `--samples` and additional logic

src/template.c:
1. Transform parameter `SECONDS` into `LENGTH`; change `PRODUCT` formula
   respectively
2. Show count of samples in non-silent mode
2023-12-03 15:43:40 +03:00
842d93c1a5
bytebeat_compiler.py: simplify grammar in CLI help
Simplify grammar in the help text for the `--verbose` option
2023-11-25 21:06:25 +03:00
5eb82bc133
template.c: add verbose mode and update usage
src/template.c: Add verbose mode
EXAMPLE_USAGE.md: Update example usage
2023-11-25 21:03:31 +03:00
3acc0be646
template.c: port all CLI arguments into the script
src/template.c:
1. Port all command line arguments into script `bytebeat_generator.py`
2. Remove the submodule lib/c-argh
2023-11-25 20:34:16 +03:00
24dc6a338e
code substitution: fix formatting 2023-11-25 17:28:22 +03:00
73710ae208
bytebeat_compiler.py: change flag -Os to -Ofast 2023-11-25 17:12:18 +03:00
27a3ac1fe3
bytebeat_compiler.py: change -Werror to -Wextra 2023-11-21 18:57:02 +03:00
3e564d79ee
rename substitute_value to substitute_var 2023-11-18 15:19:07 +03:00
1183fdb696
implement final simple rate conversion during generation (#3) 2023-11-18 14:15:48 +03:00
b68a426b92
major refactor 2023-11-16 23:34:35 +03:00
ae04b22c7a
initial commit 2023-11-16 22:01:41 +03:00