pyright-python
Crafting Interpreters
pyright-python | Crafting Interpreters | |
---|---|---|
2 | 53 | |
208 | 9,554 | |
6.7% | 2.0% | |
8.2 | 3.3 | |
4 days ago | 8 months ago | |
Python | HTML | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pyright-python
-
Emulating React/Angular components in Django
Nix is unnecessary and will kill adoption from being too heavy handed. Use pip package nodeenv for an isolated node install. Check https://github.com/RobertCraigie/pyright-python for an example of a python package that relies on node.
-
Do you recommend learning go for an interpreter project?
You can statically type Python if you want. It has the syntax for it, but you need to use an external type checker like Pyright. It's easy to use with VS Code.
Crafting Interpreters
-
Markdown's Big Brother: Say Hello to AsciiDoc
> If you’ve been relying on Markdown and occasionally fighting its quirks, AsciiDoc might be the structured, fully-featured alternative you didn’t know you needed.
No, I'm afraid it's the format I know I don't need. At least not for the kind of things I usually use markdown for.
Readme files, technical documentation, moderately complex websites with templating and rendering engines - markdown works just fine. Sometimes with a custom `|||warning\n...\n|||\n` thrown in to render something in a box with a red border.
I get that there's a market in the space occupied by TeX, Typst (underrated IMHO), and possibly MS Word or Quark Express (for non-techies). Libreoffice is great in theory but, again IMHO, "eh" in practice. That market is generating book-length documents with all the cross-references and other features that needs.
That said, Robert Nystrom of "Crafting Interpreters" managed this just fine with markdown and a few custom scripts: https://journal.stuffwithstuff.com/2020/04/05/crafting-craft... , https://github.com/munificent/craftinginterpreters/tree/mast... . This is how those famous 10x writers/programmers work, I guess.
Asciidoc is Markdown's big brother? I'll carry on playing with the little brother, thank you very much.
Also the whole page is an ad for their own editor tool. $9.99 per month so you don't need to use your own editor and unintuitive tools like (gasp!) the terminal.
-
🌟 Unlock Your Developer Potential: Top 5 Must-Explore GitHub Repositories 🚀
Build an Interpreter (Chapter 14 on is written in C)
-
Show HN: RasperDucky, an Implementation of DuckyScript3 for Raspberry Pico
[3]: https://github.com/munificent/craftinginterpreters
-
Resources for Amateur Compiler Writers
The best resource for any amateur compiler writer is Bob Noystrom's Crafting Interpreters:
https://www.craftinginterpreters.com/
It is well paced, well illustrated, and demonstrates a very simple recursive descent parser, avoiding all the junk typically foisted on students.
I cannot recommend the book highly enough, I use it in my compilers class.
-
Crafting Interpreters with Rust: On Garbage Collection
The license is here:
https://github.com/munificent/craftinginterpreters/blob/mast...
Though now that I look at it, I apparently completely forgot to specify how the images should be licensed. Oops.
It's not a big deal and I really appreciate you reading and writing about the book, but I would prefer to not have the images reused without attribution.
-
Crafting Interpreters
Lots of people have done implementations in other languages: https://github.com/munificent/craftinginterpreters/wiki/Lox-...
I did the first half in Clojure (in order to teach myself Clojure), worked just fine. I had to do a bit of translation but it's really not a lot.
-
Ask HN: Creating a language/runtime for fun, is this idea dumb or not
Dumb idea? No way. Actually, I'm currently reading Crafting Interpreters which is exactly this. It's free to read online, if you wanted to check it out: https://www.craftinginterpreters.com/
Super fun book.
-
The Top 10 GitHub Repositories Making Waves 🌊📊
Build an Interpreter (Chapter 14 on is written in C)
-
Writing a Debugger from Scratch: Breakpoints
I’m guessing you’ll have to work with the scopes in the resolver:
https://github.com/munificent/craftinginterpreters/blob/mast...
What are some alternatives?
video-to-ascii - It is a simple python package to play videos in the terminal using characters as pixels
CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++
pipupgrade - 🗽 Like yarn outdated/upgrade, but for pip. Upgrade all your pip packages and automate your Python Dependency Management.
git-internals-pdf - PDF on Git Internals
lisp - Toy Lisp 1.5 interpreter
You-Dont-Know-JS - A book series (2 published editions) on the JS language.