News for hackers. Stuff that matters.
Re:µcad: New open source programming language that can gener... by UncleEntity on Monday November 24, 2025 @01:28PM (#46037292)
I saw another example where they had 'mm' as well so I'm guessing that's all part of the type system as postfix attributes?

Poked around in the docs a bit but didn't see a grammar so, dunno... I can only guess it does automatic type conversion if you only type the numbers without the qualifier.

Re:µcad: New open source programming language that can gener... by WilstonOreo on Tuesday November 25, 2025 @11:11AM (#46047216)
Yes, we use units as postfix attributes. The grammar is here, in case you are interested: https://codeberg.org/microcad/microcad/src/branch/main/lang/...