os01
Crafting Interpreters
os01 | Crafting Interpreters | |
---|---|---|
10 | 45 | |
11,493 | 8,166 | |
- | - | |
0.0 | 0.0 | |
about 1 month ago | 27 days ago | |
TeX | HTML | |
- | 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.
os01
-
The Top 10 GitHub Repositories Making Waves 🌊📊
Write an OS from scratch
-
Write your own OS - starting from the bootloader
(Here is the link - didn't quite get the image/link combo right in the original post!). I'm writing a series of posts about coding your own operating system. After reading Operating Systems: From 0 to 1 I found that some of the code does not work, so this first post walks you through writing a bootloader similar to that of chapter 7. It also adds some context that I would have found useful when I originally read the book, such as how 16-bit real mode works and some assembly programming information. I'm hoping to take a different approach to posts in the series by borrowing pieces of other operating systems and discussing how they are implemented in an effort to keep things simple and focus on fundamentals (even Linus started out with a detailed reading of MINIX).
Starting a series about writing your own operating system. After reading Operating Systems: From 0 to 1 I found that some of the code does not work, so this first post walks you through writing a bootloader similar to that of chapter 7. I'm hoping to take a different approach to posts in the series by borrowing pieces of other operating systems (even Linus started out with a detailed reading of MINIX).
-
Kernel (OS Kernel Book)
Very quickly skimming through the various chapters, it appears that this is gentle introduction as attention has been made on clear and verbose explanations, supplemented with diagrams. Comparable other "courses" could be osdev101 [1] and "Writing an operating system from scratch" [2].
[1] https://github.com/tuhdo/os01/blob/master/Operating_Systems_...
[2] https://www.cs.bham.ac.uk/~exr/lectures/opsys/10_11/lectures...
- Practice-Oriented Books on OS Development?
- How to learn C intensively?
-
Making projects or reading source code for learning,
You need to be aware of how it works on a hardware level but probably not an expert, for a better explanation see: https://github.com/tuhdo/os01
- Resources to learn OS programming in C
- Operating Systems: From 0 to 1: Write an operating system from scratch
-
The Road to My Ultimate Training System
Operating Systems from 0 to 1
Crafting Interpreters
- Crafting Interpreters
-
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...
-
loxcraft: a compiler, language server, and online playground for the Lox programming language
Better open an issue/request wiki edit at https://github.com/munificent/craftinginterpreters/wiki/Lox-implementations
- Gigachad Ken Thomson.
-
Show HN: Yaksha Programming Language
I'm late to the party, but I want to say thank you for sharing this. It's inspiring to look at how much you've built and (hopefully) enjoyed the process of building! I'm loving everything -- your site, your language design, your docs, your builtin libraries, your dev tools. Beyond impressive. People like you are the ones who make HN one of my best places on the internet.
For context on where I'm coming from, about two weeks ago I picked up Crafting Interpreters [1] for fun. I'm finding your clear-yet-concise Compiler internals [2] to be particularly compelling reading, and jumping back and forth between those "how this all works" docs and the live example of this language you actually built do a WASM-compiled tree-blowing-in-the-wind animation is just... just wow. So freaking cool!
I also enjoyed reading the comment thread that inspired you to start on Yaksha and seeing how this project has a wholesome start as inspiration-by-programming-hero. I hope you recognize that a few years later you've now ascended from inspiree to inspirer. I also hope you're still having tons of fun building out Yaksha!
[1] https://www.craftinginterpreters.com/
[2] https://yakshalang.github.io/documentation.html#compiler-int...
- Keeping track of returned and break-ed values between code blocks
-
How do you start your own programming language?
There are books which will talk you through the process. Crafting Interpreters is highly spoken of; I used Writing an Interpreter in Go, because I like Go. Then there's Compilers: Principles, Techniques, and Tools (the "Dragon Book"). This is considered heavy, but a classic, it's been around since '86.
-
Designing a new language
I cannot recommend Crafting Interpreters by Robert Nystrom enough, it covers a lot of the stuff you need to know, completely for free.
-
A roadmap to design programming languages
Crafting Interpreters is a fun primer on language design. It has a complete roadmap to build a fairly simple language, twice. There are some topics it won't touch on, like static type systems, but it provides a great introduction so that you can start tinkering and learn by doing.
What are some alternatives?
os-tutorial - How to create an OS from scratch
git-internals-pdf - PDF on Git Internals
book-pr - Pull Requests and Code Review: Best Practices for Developers, from Junior to Team Lead.
You-Dont-Know-JS - A book series on JavaScript. @YDKJS on twitter.
esProc - esProc SPL is a scripting language for data processing, with well-designed rich library functions and powerful syntax, which can be executed in a Java program through JDBC interface and computing independently.
tinyrenderer - A brief computer graphics / rendering course
wtfjs - 🤪 A list of funny and tricky JavaScript examples
paip-lisp - Lisp code for the textbook "Paradigms of Artificial Intelligence Programming"
traducao_como_jogar_go - Tradução do livro "How to Play Go: A Concise Introduction", por Richard Bozulich e James Davies, da editora Kiseido
CppCoreGuidelines - The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++
sample-os - A sample OS as demonstrated in the book Operating System: From 0 to 1
30-days-of-elixir - A walk through the Elixir language in 30 exercises.