***alMalsam1 is now known as alMalsamo
<unmatched-paren>stikonas: interesting... rascal doesn't support the pascal `const` keyword. that's probably why it rejected those example programs, `const` is used in pretty much every pascal program <stikonas>and assume that code is written correctly <stikonas>mrustc does not implement borrow checker <stikonas>just assumes that rustc code was written correctly <stikonas>well, bootstrap compiler doesn't have to be very good at things like error reporting etc... <stikonas>which you might expect from production compiler <stikonas>unmatched-paren: oh yes, I'm just saying that for rascal implementing const can be as easy <unmatched-paren>but it's necessary to treat them as immutable variables for almost every single pascal program to work.... <stikonas>some invalid programs would also work instead of erroring out <unmatched-paren>if you have `const x = 44;` then every `x` should be treated as `44` <stikonas>but all valid programs should continue to work <stikonas>yes, but if const x = 44 is replaced with x = 44 <stikonas>then output of the program would be the same <stikonas>oh, maybe I was thinkign of C type const keyword <stikonas>but in C const keyword can definitely be omitted <stikonas>so basically just global_token = global_token->next; <stikonas>i.e. skip const token and look at the next thing <unmatched-paren>so you can't have a function/procedure that takes a list of any length <oriansj>unmatched-paren: well C does have a pretty clean syntax IF you stick to the turing core (which is what cc_* is) <oriansj>once you toss in the C macro processing and varargs; it gets ugly fast but when you can turn that off, C is pretty clean. <stikonas[m]>Still, we did a reasonable job with macro processing in m2-mesoplanet <oriansj>stikonas: and that will only grow in size as we get more compatible with the C spec <oriansj>but yes, for a C preprocessor, M2-Mesoplanet appears considerably cleaner than others that I've seen. ***Noisytoot is now known as [
<[>muurkha: Someone else has that nick ***vancz_ is now known as vancz
***sam_ is now known as sam__
***sam__ is now known as sam_