IRC channel logs

2024-09-13.log

back to list of logs

<fossy>lrvick: give me or stikonas or Googulator a ping or open an issue on gh if you run into any issues with updating live-bootstrap ^-^
<matrix_bridge><Lance R. Vick> Will do. I expect it to be a bit of a slog
<matrix_bridge><cosinusoidally> https://github.com/cosinusoidally/tcc_bootstrap_alt/blob/dev/m2min/mk_awk_m2 eliminated the use of a C preprocessor I can now bootstrap a heavily cut down C compiler using just awk (the same code can also be built under itself, or a C compiler, or a JS vm). mawk is also surprisingly small (128KB on my system, and it only depends on a libc).
<Googulator>cosinusoidally: does this also work now using regular M2?
<matrix_bridge><cosinusoidally> my M2_simple_asm.c can be built by a regular M2, but M2_simple_asm.js cannot yet (this is the version that gets translated to awk). For M2_simple_asm.js I would need a trivial translation pass ( eg function foo(a,b,c) { ... becomes int foo(int a, int b, int c) { ...)
<matrix_bridge><cosinusoidally> I would need to create a "js_to_c_simple.c"
<matrix_bridge><cosinusoidally> I think I'm probably going to have a play around with creating awk versions of M0 and hex2 next.
<oriansj>cosinusoidally: glad to hear that you are enjoying your experiment.