IRC channel logs
2026-05-14.log
back to list of logs
<matrix_bridge><wildwestrom> Andrius Štikonas: Ah, I see. So the assembler is for after the first C compiler ("cc_*"). <matrix_bridge> Sorry it took me so long to respond. I don't know anything about lambda calculus beyond some youtube videos about it. I also don't even know what a combinator is in this context. What do you think is the right path toward learning these functional programming concepts? <roconnor>That's a tough question for me to answer. I started by learning ML in my languages course at university. <roconnor>I thought it was the best language ever. <matrix_bridge><wildwestrom> I understand Standard ML's type system is the basis for many languages and proof assistants. Never got around to trying to build something with it. The closest languages I know are Clojure and Rust. <siraben>this one is for lambda calculus and combinator stuff without the compiler oriented <siraben>has topological sort, dependency lists per target, grouped targets, variable substitution like kaem <siraben>Removing globbing and only supporting ${VAR} and $@ now <siraben>Replaced kaem with bake throughout my fork <roconnor>I guess I'm not fully aware of the terminology around this. <xentrac>libc is generally speaking the C runtime <xentrac>malloc, free, printf, setjmp, longjmp, that kind of thing <xentrac>typically those are what runs before main starts and after it returns <xentrac>assuming that's what they are in stage0 to <xentrac>generally crt0 and friends are considered part of libc even though they aren't in /lib/x86_64-linux-gnu/libc.so.6 <xentrac>where are the crtn and crti you're asking about? <roconnor>${MES_PREFIX}/lib/linux/${MES_ARCH}-mes-gcc/crtn.c <roconnor>${MES_PREFIX}/lib/linux/${MES_ARCH}-mes-gcc/crti.c <xentrac>I don't have it installed at the moment, sorry <xentrac>SunOS /bin/true was the same way for many year <stikonas>both m2libc and meslibc are statically linked <stikonas>so c library vs c runtime doesn't really make much distinction <stikonas>and yes, meslibc is licensed under GPLv3 <stikonas>so you can only link GPLv3 compatible applications with it <xentrac>but crtn.c and crti.c contain no original authorship in which copyright could inhere <siraben>Merged in riscv64 support for blynn-bootstrap <siraben>should work and bootstrap all the way to tcc via haskell <xentrac>yes, that's what happened to SunOS /bin/true as well <siraben>need to get rid of that patch dep though <xentrac>you might want to default your docker run to --rm <xentrac>congratulations on getting that working! <stikonas>might not have time to review it all today <siraben>added ternary expressions finally to m2-planet, and some other constructs that we already had parsing infrastructure for <stikonas>the problems are mostly in more complex cases <stikonas>when you start combining things like dereferences, arrays postfix/prefix and perhaps pointer arithmetic