1
0
Commit Graph

188 Commits

Author SHA1 Message Date
2f900ccbc8
bytebeat_compiler.py: simplify the condition 2024-09-23 02:38:14 +03:00
259107b2b6
b/c...py: skip_first: support fractional seconds 2024-09-23 02:25:24 +03:00
376c7be221
use name custom_return_code instead of no_return 2024-09-23 01:25:19 +03:00
301ad4292b
samples: melody.c: add a FIXME 2024-09-23 01:15:31 +03:00
7e2347d8e7
samples: melody.c: use static keyword for the array 2024-09-23 01:14:36 +03:00
988ed5c475
samples: add pwm-sierpinski.c 2024-09-23 00:58:51 +03:00
f2846228e1
C: ensure uintmax_t type when printing 2024-09-23 00:50:02 +03:00
214abeb181
C: fix file I/O code 2024-09-23 00:47:59 +03:00
d448357608
bytebeat_compiler.py: support fractional seconds 2024-09-23 00:43:25 +03:00
a4de44f08c
documentation.md: update the case of the title 2024-08-31 03:17:57 +03:00
ebf5e703f1
EXAMPLE_USAGE.md: update program output 2024-08-27 00:42:00 +03:00
e2ebdcdf17
README.md: add links to both licenses 2024-08-27 00:37:00 +03:00
f66fda1a03
README.md: Unlicense: update the protocol of the link 2024-08-27 00:37:00 +03:00
607c13bdb8
README.md: swap license order and rephrase to clarify 'or' option 2024-08-27 00:37:00 +03:00
1d79faebe0
remove gitignore_clean.py 2024-08-27 00:37:00 +03:00
8511227eaa
b/c...py: rename rewrite_file to overwrite_file 2024-08-27 00:09:41 +03:00
9a98fb55e3
b/c...py: type hint function rewrite_file completely 2024-08-27 00:09:41 +03:00
d51ee9e0d6
bytebeat_compiler.py: reformat command printing 2024-08-27 00:09:41 +03:00
e6afd3574b
b/c...py: use os.getcwd() instead of . 2024-08-27 00:09:41 +03:00
be2bad3a5d
b/c...py: do not use a temp. dir if keeping files
Do not use a temporary directory if keeping files
2024-08-27 00:09:29 +03:00
369d778604
bytebeat_compiler.py: fix extra dots in paths 2024-08-27 00:02:59 +03:00
c2d29a2d0f
b/c...py: secure input and output files
Do not use environmental variables `INPUT_FILE` and `OUTPUT_FILE`
2024-08-27 00:02:59 +03:00
0ab521e2ca
b/c...py: compile into a temporary directory
Generate intermediate files into a temporary directory
2024-08-27 00:02:57 +03:00
81782ef23d
EXAMPLE_USAGE.md: use "--verbose" instead of "-v" 2024-08-27 00:02:06 +03:00
9d61e8305b
EXAMPLE_USAGE.md: update program output 2024-08-27 00:02:03 +03:00
df6863a3f5
bytebeat_compiler.py: remove generated files 2024-08-26 21:50:13 +03:00
12d3353208
bytebeat_compiler.py: fix grammar 2024-08-26 21:50:13 +03:00
542126cb33
bytebeat_compiler.py: do not use sys.exit 2024-08-26 21:50:11 +03:00
d17a5bff05
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 21:46:50 +03:00
0a8d19d5bd
b/c...py: notify the user when reading STDIN
Notify the user when the script reads bytebeat code from STDIN
2024-08-26 21:46:50 +03:00
6a1f10111d
b/c...py: extract function run_command 2024-08-26 21:46:50 +03:00
27246e1b8b
b/c...py: use EXIT_SUCCESS and EXIT_FAILURE 2024-08-26 21:46:50 +03:00
65c54cf587
b/c...py: run the runtime unit after compiling 2024-08-26 21:46:47 +03:00
6bc19e7160
README.md: extend description 2024-08-26 21:45:19 +03:00
1c271df50e
README.md: revert the name 2024-08-26 21:44:37 +03:00
2724aecd64
fwrite_le.c: remove superfluous semicolon 2024-08-26 21:44:37 +03:00
baac2d48e8
use directory bin instead of build 2024-08-20 18:47:22 +03:00
2dbb70fa2b
*.py: use a better shebang 2024-07-26 14:28:27 +03:00
74b9bec9c6
bytebeat_compiler.py: extract BITS_PER_BYTE 2024-07-14 00:25:13 +03:00
178755aa58
fwrite_le.c: use malloc instead of calloc 2024-07-14 00:24:13 +03:00
17be3d4b73
template.c: simplify file_length calculation 2024-07-14 00:23:56 +03:00
391467806e
template.c: extract BITS_PER_BYTE 2024-07-14 00:21:33 +03:00
32665b0168
README.md: improve license information and reformat 2024-07-14 00:17:37 +03:00
59b29e3952
README.md: reformat 2024-07-14 00:16:58 +03:00
7a107a85de
fwrite_le.h: reduce scope of private macros 2024-07-14 00:16:17 +03:00
bbb7b2a476
fwrite_le.*: make use of const for ptr 2024-06-18 19:07:10 +03:00
2ddc87b226
fwrite_le.h: move #includes inside the #ifdef block 2024-06-18 19:07:01 +03:00
505812da6c
template.c: output all errors to STDERR 2024-06-03 00:30:14 +03:00
6f99ea37e6
template.c: silent mode fixes 2024-06-03 00:25:54 +03:00
160c40fc11
template.c: merge exact, neighbor conditional compilation 2024-06-02 23:31:46 +03:00