Git Product home page Git Product logo

Comments (4)

subsetpark avatar subsetpark commented on July 18, 2024

An interesting trace:

trace [src/documentarian.janet]: (ns-or-alias name ns) is "fugue"
trace [src/documentarian.janet] on line 198, column 30: meta is @{:doc "(match x & cases)\n\nPrototype-aware version of `match`. Introduces one new case form:\n\n- `(@ <prototype-name> <dictionary>)`: Will pattern match against an instance\nof `prototype-name`. Additionally, will validate at compile-time that every\nkey in `dictionary` is a field that's present on the specified prototype." :macro true :source-map ("fugue.janet" 877 1) :value <function match>}
trace [src/documentarian.janet]: (ns-or-alias name ns) is "fugue"
trace [src/documentarian.janet] on line 198, column 30: meta is @[]

The binding it's throwing up on is :macro-lints. That's a new element in Janet; so I guess documentarian needs to be updated; right now it thinks that it's a symbol defined in the fugue source.

Maybe it's as easy as only processing the binding if it's a symbol?

from documentarian.

pyrmont avatar pyrmont commented on July 18, 2024

@subsetpark Thanks for reporting and looking into this. You're right, I'm not familiar with the :macro-lints change. I'll have to have a look at what's changed in Janet.

from documentarian.

pyrmont avatar pyrmont commented on July 18, 2024

Oh, and thanks for submitting PR #5! I want to understand the problem better but hopefully that's the fix (less code for me to write! :P).

from documentarian.

saikyun avatar saikyun commented on July 18, 2024

I got the same error when trying to run on the testament library.

from documentarian.

Related Issues (7)

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.