Show HN: AGL a toy language that compiles to Go
Show HN (score: 77)Description
I basically forked the Go scanner/parser, and changed the syntax to have functions return a single value. This enable proper Result/Option type to be used as well as propagating errors with an operator.
I also wanted to have short "type inferred" anonymous functions to be able to use functions like Map/Reduce/Filter, without having to use 100 characters to specify the types.
More from Show
Show HN: Rocket Launch and Orbit Simulator
Show HN: Rocket Launch and Orbit Simulator I (17y/o) have been developing a rocket launch simulation that allows the user to explore what it's like launching a rocket from earth and putting it into orbit. This idea originally started as an educational simulation but as i've gone more down the rabbit hole the more i've wanted to make it realistic. The problem is that I've never had a formal orbital mechanics class or anything like that so I don't know what I'm missing, what I currently have implemented is:<p><pre><code> Variable gravity Variable Atmospheric drag (US Standard Atmosphere 1976) Multi-stage rockets Closed-loop guidance / pitch programs (works well within ranges 350km to 600km) Orbital prediction and thrusting options to change your orbit. </code></pre> The feedback I'm looking for is: UI improvements and possible future physics implementations that I can work on.<p>Current code and physics can be found at: <a href="https://github.com/donutTheJedi/Rocket-Launch-Simulation" rel="nofollow">https://github.com/donutTheJedi/Rocket-Launch-Simulation</a>
No other tools from this source yet.