Giter Club home page Giter Club logo

Comments (3)

AlexKnauth avatar AlexKnauth commented on September 28, 2024

Yes. I am trying to preserve macro transformer values so I can use them at run-time in a Repl. My current solution works in situations where I run and compile at the same time in DrRacket, but I need a better solution that also works when the code is compiled.

from debug.

lexi-lambda avatar lexi-lambda commented on September 28, 2024

I’m not sure that it’s (currently) possible. Plus, as you mentioned in the commit message, it only works in simple cases where macros do not use other macros. This seems like something that might need support from the compiler or the expander? It would be useful to have a robust solution for this that works in 100% of cases; this sort of feature is extremely useful for debugging. Ruby’s pry library provides a binding.pry that does the same thing (opens a REPL at the location at runtime), and it provides one of the nicest debugging workflows I’ve ever used.

from debug.

AlexKnauth avatar AlexKnauth commented on September 28, 2024

I've split those tests into a separate file which I can add to compile-omit-paths. When I do this it compiles and runs at the same time so the tests pass. This is not a solution, but it means the docs can build.

from debug.

Related Issues (16)

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.