zannick / demystify Goto Github PK
View Code? Open in Web Editor NEWA Magic: The Gathering parser
License: Other
A Magic: The Gathering parser
License: Other
Not really an issue per se; I was looking through the docs and was hoping to find an example of a parsed card, especially the rules text. I'm looking into building a parser for rules text and found your project, I just can't tell if it'll produce the sort of output I'm looking for. For example, what does the parsed version of Liliana of the Veil look like?
Sorry if I missed something obvious, but what should I type after python3 demistify.py load -i
to see a parse tree or AST for a given card?
Yawgatog no longer provides a text Oracle collection. Viable options seem to be MTGJSON4 and Scryfall, which the former partially depends upon. Scryfall provides a link to a bulk json file in its API docs while MTGJSONv4 provides its own bulk json files on its main page.
Either way, it's also worth considering storing the database in json format, and locally cached (instead of checked-in). This will require rewriting the Card constructor and ditching much of the data.py update logic.
Hello,
I'm trying to study this project. Currently, I've cloned the repo, installed ANTLR 3, and tried to run it. Unfortunately, it looks like the Scryfall API has changed over the years so some of your codes don't run anymore. Can you help me look into this issue?
Regards,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.