|
| benhoyt wrote:
| I upvoted because this is interesting and I like simple
| compilers, but unless I'm missing something, this is only a lexer
| and parser. They mention "rgo was to use LLVM" in the README, and
| there's no type checker or compiler right now as far as I can
| tell. See the src directory:
| https://github.com/yberreby/rgo/tree/master/src
| DotaFan wrote:
| Document states "was to" use, which for me sounds it does not
| yet use.
| yberreby wrote:
| Author here. You're correct. I started this when I was getting
| into formal languages / compiler design, but I couldn't
| dedicate much time to it after writing the lexer and parser.
| Later on, I didn't have much interest in finishing it, in large
| part due to a growing dislike for Go's design philosophy. It
| was a nice learning experience, though.
| no_wizard wrote:
| Maybe archive the project? No shame in that game it shows
| clear intent
| yberreby wrote:
| Good idea. Just did so.
| revskill wrote:
| Waiting for a Rust compiler, written in Go.
| Patrickmi wrote:
| [dead]
| [deleted]
| [deleted]
| [deleted]
| faitswulff wrote:
| Also see the more recently updated
| https://github.com/oxfeeefeee/goscript, "An alternative
| implementation of Golang specs, written in Rust for embedding or
| wrapping."
| philonoist wrote:
| Could you please post this as your own post as well or permit
| me to post this as a separate post to be discussed upon?
| faitswulff wrote:
| Feel free to resubmit, it was submitted in the past. I'm too
| lazy to submit it as its own post. I'm also not the author.
| metadat wrote:
| Try this one: https://news.ycombinator.com/item?id=35851677
| v3ss0n wrote:
| Should name it blasphemy
| speed_spread wrote:
| gore
| therein wrote:
| Oh yeah, that is good.
| trollied wrote:
| > rgo was a work-in-progress Go compiler, written in Rust. > This
| was primarily a fun learning project.
|
| Certainly not front page worthy. Guess it satisfied the cargo
| cult "rust auto upvote" behaviour.
| unwind wrote:
| [flagged]
| yjftsjthsd-h wrote:
| Fun learning projects are absolutely on-topic for HN.
| loeg wrote:
| The front page is perpetually full of crap. There just aren't
| always 30 interesting recent articles in the world, and that's
| fine. Don't worry about it too much.
| philonoist wrote:
|
|
| Any manager looking at it would probably thinks like "Imaging my
| developers being able to write simple yet effective code for
| servers and the users experience safe(at the least not a bumpy
| ride) and speedy product use. Imagine I render frontend with
| WASM/WASI and any SQL/NoSQL Database to Rust. Imagine I train
| chatGPT-like to build this whole web app and I will discretely
| drop developers off to a minimum...All the money for myself!"
|
|
| QuadrupleA wrote:
| Someone just got a Hacker News bingo.
___________________________________________________________________
(page generated 2023-05-07 23:01 UTC) |