Giter Club home page Giter Club logo

Comments (4)

gbracha avatar gbracha commented on May 24, 2024

Item (b) above, "Automatically generate exemplars for classes with unary factory selectors." fixed in bceb556

from newspeak.

gbracha avatar gbracha commented on May 24, 2024

Added support for (c) above, methods now use exemplar data to enable debugger entry. A lot more UI polish needed, as well as more metadata, and automatic generation of exemplars in unary methods, and in other contexts where we have an exemplar, for example in an arbitrary object inspector.

from newspeak.

gbracha avatar gbracha commented on May 24, 2024

WIP. Exemplar methods allow evaluation in the method body. However, live evaluation is broken. In assorted method presenters (such as search results, or senders/implementers) eval results are not displayed.

from newspeak.

gbracha avatar gbracha commented on May 24, 2024

Fixes ongoing. Exemplars mostly work, including in tests, search, sender/implementors. There are some bugs - for example, if we are deriving the exemplar by virtue of a surrounding object presenter, and not because we have either real exemplar metadata or a built-in rule for deriving an exemplar (e.g., unary factory, known factory selector etc.) then upon any model update we lose the evaluator display (but not the debug button). I believe I understand the cause, fixes will take a little longer.

Also, factory methods do not yet support exemplars. We really need to support separate metadata for calling the factory and for creating an instance in cases where exemplar instances are not specified as factory calls.

from newspeak.

Related Issues (20)

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.