Comments (4)
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.
@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.
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.
I got the same error when trying to run on the testament library.
from documentarian.
Related Issues (7)
- Documentarian should say it requires Janet 1.9 HOT 2
- native loader not working - for everyone, or just me? HOT 7
- Feature idea: specify JANET_PATH on command line HOT 4
- Native module problem HOT 2
- Inconsistency in markdown generation between project and definition docstrings HOT 2
- Support C libraries using JANET_FN and JANET_REG macros HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from documentarian.