-
Notifications
You must be signed in to change notification settings - Fork 0
Something I've been working on for a few months before uploading. Contains: a set of scripts to scrape gatherer.wizards.com and stick all the cards in a database, a lexer generator that uses that database and a parser that uses that lexography to create an abstract syntax tree representation of the card. I'm working on playing an actual game wit…
foxor/mtg_parser
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Magic: the Gathering Parser =========================== The idea is to treat the words on the oracle text of magic cards as a programming language. This project aims to parse that language, and to create a virtual machine, wherein that language can be used to play games. It should be noted that all cards and card text are property of Wizards of the Coast. I hope I'm not doing anything illegal, this project is only for personal use. Development Status ================== I stopped working on this for a while because old cards are really hard to parse. I parsed ~80 of them starting from the first card of alpha, but they are very hard. Therefore I'm starting with just the modern set of cards.
About
Something I've been working on for a few months before uploading. Contains: a set of scripts to scrape gatherer.wizards.com and stick all the cards in a database, a lexer generator that uses that database and a parser that uses that lexography to create an abstract syntax tree representation of the card. I'm working on playing an actual game wit…
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published