Giter Club home page Giter Club logo

rox's Introduction

🌱🌱🌱

Hello! I'm Reese (he/him), a Software Engineer working on ✨Ruby things✨ at Stripe, and previously I worked at HubSpot and The Gnar Company.

rox's People

Contributors

reese avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rox's Issues

Support early returns

Describe the feature
Currently, we incorrectly branch in LLVM IR when returning early (e.g. in an if/else statement).

Example case

fn main() -> Int do
  let a = true;
  if a do
    return 0;
  end
  return 1;
end

Improve DevEx on reporting errors inside the compiler.

Right now, reporting errors inside the compiler is really difficult, since I haven't taken the time to properly add spans inside of the parser and the file name isn't tracked inside of the type-checking stage.

There are a few things that would help here:

  • Investigate thiserror as a more ergonomic way of reporting Error enums.
  • Track error spans for parser errors and handle error cases inside of the LALRPop file. Alternatively, consider a hand-rolled lexer/parser for more effective error messages if that becomes a huge hassle.
  • Maintain file name state during the whole compilation pipeline to pass to the codespan reporter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.