Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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/...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: