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

Isn't Mojo supposed to be a subset of Python? If so, any Python syntax highlighter should work.



The screenshot in the repo's README suggests this is not the case: Python doesn't have the "struct", "var", "fn", "inout", "trait", or "owned" keywords.


It’s a superset, not a subset.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: