YichengDWu / yoho-legacy
A compiler written in Mojo 🔥 and generates RISC-V assembly
Over time
2024-06-07 to 2024-06-25; peak 3,028 lines
2024-06-07 to 2024-06-25; 29 commits, counted up by commit date
mojo_issues hasn't read this repository's issues and pull requests yet.
Similar repos
| Repo | Description | Similarity |
|---|---|---|
| albanread/MojoRISCOS | Mojo for RISCOS - cross compiler, native 32bit RISCOS apps, from Mojo language. | 92% |
| lee101/mojojojo-compiler | A Mojo-native, hybrid compiler for arbitrary Python | 88% |
| AnswerDotAI/xmojo | Experimental interactive Mojo environment built on Modular's ORC compiler stack | 87% |
| mojothon/libc | a standard C library binding for the Mojo programming language | 87% |
| Ali-Jemo/MoEasy | Mojo programming language librarary | 86% |
By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 3454761910736014829 of mojo.repo_embeddings, which mojo_embed writes.
Stars per month
- stars
- forks
1 stars over the months of GH Archive loaded so far (47; months in between aren't loaded yet), counted from its events.
Contributors per month
- contributors
- new
2 people authored or co-authored its commits (every commit reachable from HEAD, Co-authored-by trailers included, bots left out), counted by email.
Releases and tags
No published release in the GH Archive days loaded, and no git tag in the clone.
Migrations
No change of Mojo version or tooling between the commits read so far.
Commits
Commit types: Feature 66% · Fix 3% · Docs 3% · Build and chores 3% · Other 24%
| Date | Commit | Type | Subject | Lines of Mojo | Tooling | Mojo version |
|---|---|---|---|---|---|---|
| 2024-06-25 | 6a77bbfcc1 | Feature | Support zero-arity function definition | 3,028 | none | – |
| 2024-06-25 | d9df3bb3b9 | Other | Rewrite the grammar to be clearer and simpler | 2,917 | none | – |
| 2024-06-25 | 87b8f5847e | Feature | Add keyword "var" and make variable definition mandatory | 2,845 | none | – |
| 2024-06-25 | 408f1d3063 | Feature | Add "while" statement | 2,810 | none | – |
| 2024-06-25 | cb0b0078a1 | Other | Allow multiple empty lines in statements | 2,760 | none | – |
| 2024-06-25 | 08e3bd7382 | Feature | Add "if" statement | 2,696 | none | – |
| 2024-06-25 | 1243d4d1c9 | Feature | Support indentations | 2,595 | none | – |
| 2024-06-25 | 4c8b618e3f | Feature | Add "return" statement | 2,536 | none | – |
| 2024-06-25 | e806212edf | Feature | Support local variables | 2,510 | none | – |
| 2024-06-25 | 915fbcfbd0 | Other | Accept multiple statements separated by \n | 2,413 | none | – |
| 2024-06-25 | e631263d97 | Feature | Add ==, !=, <= and >= operators | 2,326 | none | – |
| 2024-06-25 | d9ec288bbf | Fix | Fix warnings in the parser generator | 2,042 | none | – |
| 2024-06-25 | ea3a278977 | Feature | Add unary plus and minus | 2,038 | none | – |
| 2024-06-25 | 172c00b76d | Feature | Add a parser generator | 1,982 | none | – |
| 2024-06-25 | 2d6c6e543f | Docs | Update README | 1,579 | none | – |
| 2024-06-25 | 72d2019979 | Feature | Add a grammar parser | 1,579 | none | – |
| 2024-06-25 | 439e043b0b | Feature | Add STRING and NAME token kind | 1,120 | none | – |
| 2024-06-25 | cb52bdfe79 | Feature | Add all single character token kinds | 1,050 | none | – |
| 2024-06-25 | 020538754c | Feature | Add a code generator from ast | 863 | none | – |
| 2024-06-25 | f811f3a5e1 | Feature | Support left-recursive grammar | 785 | none | – |
| 2024-06-25 | ab75a8a5f4 | Feature | Add memoization in the parser | 746 | none | – |
| 2024-06-25 | c150aa2842 | Other | Structual sharing via Arc to avoid copying | 662 | none | – |
| 2024-06-25 | 00c5f9e70f | Feature | Add a toy parser | 641 | none | – |
| 2024-06-25 | 6aee043926 | Other | Update tokenizer, add *, /, (, ) and \n | 305 | none | – |
| 2024-06-25 | ef813728a8 | Other | Packaging code | 97 | none | – |
| 2024-06-25 | bb333e237f | Feature | Implement a toy tokenizer | 94 | none | – |
| 2024-06-25 | 119433c824 | Feature | Add + and - operators | 41 | none | – |
| 2024-06-25 | da41351a21 | Other | Compile an integer to an exectuable that exits with the given number | 11 | none | – |
| 2024-06-07 | 32b7ef17b9 | Build and chores | Initial commit | 0 | none | – |