1
0
Commit Graph

216 Commits

Author SHA1 Message Date
e7771d93f4
EXAMPLE_USAGE.md: update program output 2024-08-27 00:42:08 +03:00
c3b470f842
merge from WIP 2024-08-27 00:33:34 +03:00
63c5e5a628
b/c...py: rename rewrite_file to overwrite_file 2024-08-27 00:08:43 +03:00
6bc53a0169
b/c...py: type hint function rewrite_file completely 2024-08-27 00:08:43 +03:00
c043d0ce94
bytebeat_compiler.py: reformat command printing 2024-08-27 00:08:43 +03:00
0b0a6a4e0b
b/c...py: use os.getcwd() instead of . 2024-08-27 00:08:43 +03:00
23801c4eaa
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:08:37 +03:00
be5c7186ec
bytebeat_compiler.py: fix extra dots in paths 2024-08-26 22:54:19 +03:00
974f7eb53b
b/c...py: secure input and output files
Do not use environmental variables `INPUT_FILE` and `OUTPUT_FILE`
2024-08-26 22:44:58 +03:00
f70ef4c74d
b/c...py: compile into a temporary directory
Generate intermediate files into a temporary directory
2024-08-26 22:34:41 +03:00
3b81fe5eb5
EXAMPLE_USAGE.md: use "--verbose" instead of "-v" 2024-08-26 22:06:01 +03:00
d0185392c9
EXAMPLE_USAGE.md: update program output 2024-08-26 22:05:25 +03:00
4723c738c4
bytebeat_compiler.py: remove generated files 2024-08-26 21:58:00 +03:00
b9d6d50085
bytebeat_compiler.py: fix grammar 2024-08-26 21:58:00 +03:00
16384717a7
bytebeat_compiler.py: do not use sys.exit 2024-08-26 21:58:00 +03:00
8c7d7ac8f9
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:57:59 +03:00
b8323731cb
b/c...py: notify the user when reading STDIN
Notify the user when the script reads bytebeat code from STDIN
2024-08-26 21:57:59 +03:00
4e72ba90dc
b/c...py: extract function run_command 2024-08-26 21:57:59 +03:00
538837a780
b/c...py: use EXIT_SUCCESS and EXIT_FAILURE 2024-08-26 21:57:59 +03:00
e16688297f
b/c...py: run the runtime unit after compiling 2024-08-26 21:57:59 +03:00
a0687b3e46
README.md: extend description 2024-08-26 21:57:59 +03:00
22b7614dfd
README.md: revert the name 2024-08-26 21:57:59 +03:00
ac35998391
fwrite_le.c: remove superfluous semicolon 2024-08-26 21:57:59 +03:00
e3d2ab71f2
use directory bin instead of build 2024-08-26 21:57:59 +03:00
bf0c103588
bytebeat_compiler.py: extract BITS_PER_BYTE 2024-08-26 21:56:00 +03:00
8192def161
fwrite_le.c: use malloc instead of calloc 2024-08-26 21:56:00 +03:00
56dd8dace3
template.c: simplify file_length calculation 2024-08-26 21:56:00 +03:00
eaf7b06b1e
template.c: extract BITS_PER_BYTE 2024-08-26 21:56:00 +03:00
36f62bf7e9
README.md: improve license information and reformat 2024-08-26 21:56:00 +03:00
dd47773c5c
README.md: reformat 2024-08-26 21:56:00 +03:00
1f2eb8e005
fwrite_le.h: reduce scope of private macros 2024-08-26 21:56:00 +03:00
50c50db7b2
fwrite_le.*: make use of const for ptr 2024-08-26 21:56:00 +03:00
71aa442035
fwrite_le.h: move #includes inside the #ifdef block 2024-08-26 21:56:00 +03:00
429d43f8c1
bytebeat_compiler.py: remove generated files 2024-08-26 21:40:33 +03:00
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
98f13f7a89
*.py: use a better shebang 2024-07-26 14:28:47 +03:00