linear
Essentials-of-Compilation
Our great sponsors
linear | Essentials-of-Compilation | |
---|---|---|
8 | 22 | |
195 | 1,199 | |
- | 4.2% | |
5.4 | 6.2 | |
11 days ago | about 1 month ago | |
Haskell | TeX | |
BSD 3-clause "New" or "Revised" License | - |
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.
linear
-
GHC.Num: Why no multiplication commutativity?
Linear.Quaternion.Quaterion from the linear package has a Num instance, and quaternion multiplication is noncommutative.
-
Is there an existing typeclass for differences?
That's pretty much exactly the abstraction used in the 'linear' package's Affine class, in which we find points separated by vectors.
-
What are the current challenges in Numerical Programming for Haskell?
Linear algebra: hmatrix again with its own array type (and linear but this is restricted to low dimensions)
-
Advanced programming exercises/apps recommendations to code
This is very niche, but something I've wanted to do for a while is to generate some cool physics example on the surface of a sphere with https://hackage.haskell.org/package/hamilton, and display it with https://reanimate.github.io/ (using https://hackage.haskell.org/package/linear for the projection)
-
How to create my Functor / Eq / Num combination on Coords?
Do check out the linear package. It has some complicated parts, but the types work out very nicely. Your Coords type is called V3 in that package, it has a huge list of instances for all kinds of different type classes.
- Advent of Code 2021 day 06
-
Probabilistic modelling in Idris: engineering as research
I've come to love the linear approach, where instead of working with Naperian (Representable) functors, you work with Distributive functors.
-
Monthly Hask Anything (June 2021)
See also the linear library, it contains types like data V3 a = V3 a a a with all of the useful instances.
Essentials-of-Compilation
-
Request for comments on my toy lisp implementation.
if you like compilers you should this book out https://github.com/IUCompilerCourse/Essentials-of-Compilation.
-
You and me Anon, you and me
Essentials of compilation by Dr. Siek. There’s a GitHub repo. Just navigate to the releases and you will find a pdf https://github.com/IUCompilerCourse/Essentials-of-Compilation/releases/tag/python-MIT-press. This book is really good and it’s practical. There’s a lot of code and it guides you along the way. So it’s a great book to self study. To supplement this you can buy Engineering a Compiler by cooper. This is more comprehensive but there’s no code in this book, only pseudo code. Start with essentials of compilation my friend. It will teach you everything you need.
-
The dragon compiler book (2nd edition) is a great book
You can try this book if you want something that came out this year https://github.com/IUCompilerCourse/Essentials-of-Compilatio.... Go to the releases to either get the racket version or python version. But I mean cmu uses the dragon book second edition for a graduate level compiler optimization class.
-
Why Learn Compilers
This paper is my favorite introduction to compilers, it's short and hands-on: http://scheme2006.cs.uchicago.edu/11-ghuloum.pdf
There is a book-length expansion of this paper that goes into more detail: https://github.com/IUCompilerCourse/Essentials-of-Compilatio...
-
Can we create a thread for some of the best materials on CS available online?
Introduction to Computing"
https://dcic-world.org/
# Programming Language Theory:
"Programming Languages: Application and Interpretation"
https://www.plai.org/
# Compilation:
"Essentials of Compilation: An Incremental Approach in Python"
https://github.com/IUCompilerCourse/Essentials-of-Compilatio...
# Database Systems:
"CMU: Intro to Database Systems"
https://15445.courses.cs.cmu.edu/
"CMU: Advanced Database Systems"
https://15721.courses.cs.cmu.edu/
# Calculus I/II & Real Analysis
"A Course in Calculus and Real Analysis"
https://link.springer.com/book/10.1007/978-3-030-01400-1
"A Course in Multivariable Calculus and Analysis"
https://link.springer.com/book/10.1007/978-1-4419-1621-1
# Linear Algebra & ML:
* A Series of books by prof. Joe Suzuki without using any external library for the implementations *
"Statistical Learning with Math and Python"
https://link.springer.com/book/10.1007/978-981-15-7877-9
"Sparse Estimation with Math and Python"
https://link.springer.com/book/10.1007/978-981-16-1438-5
"Kernel Methods for Machine Learning with Math and Python"
https://link.springer.com/book/10.1007/978-981-19-0401-1
# Discrete Mathematics:
"CMU 21-228 Discrete Mathematics (prof. Poh-Shen Loh"
https://www.math.cmu.edu/~ploh/2021-228.shtml
# Cryptography:
"Serious Cryptography: A Practical Introduction to Modern Encryption"
https://nostarch.com/seriouscrypto
# Problem Solving:
"Math 235: Mathematical Problem Solving"
https://www.cip.ifi.lmu.de/~grinberg/t/20f/
-
A Normal Form transformation of syntax tree
This compiler book explains monadic normal form which it’s anf but not 100 percent because of the difference in how let expressions are represented. https://github.com/IUCompilerCourse/Essentials-of-Compilation
-
As a self taught developer how should I go about getting a job?
I learned to write compilers by reading "Essentials of Compilation." You can find a free pdf in the book's repo https://github.com/IUCompilerCourse/Essentials-of-Compilation/releases/tag/python-MIT-press. The book is published my MIT Press although right now the racket version is out. the python version is coming out soon. the link that I just shared is for the python version. This is a great book . I recommend it
-
Hey guys, have any of you tried creating your own language using Python? I'm interested in giving it a shot and was wondering if anyone has any tips or resources to recommend. Thanks in advance!
One of the best (free/open source) books for learning how to write a compiler is Essentials of Compilation. It comes in two flavors: Racket and Python. I'm less familiar with the Python version, but it might be what you're looking for.
-
Best book on writing an optimizing compiler (inlining, types, abstract interpretation)?
Not sure about specifics, but maybe https://github.com/IUCompilerCourse/Essentials-of-Compilation is worth a look?
-
Why you should take a compiler course
There are pdfs in the releases section: Python - https://github.com/IUCompilerCourse/Essentials-of-Compilation/releases/download/python-MIT-press/book.pdf
What are some alternatives?
nimber - Finite nimber arithmetic
chip8-book - An introduction to Chip-8 emulation using Rust
nuha
chip8
moving-averages
v - Simple, fast, safe, compiled language for developing maintainable software. Compiles itself in <1s with zero library dependencies. Supports automatic C => V translation. https://vlang.io
effect-zoo - Comparing Haskell effect systems for ergonomics and speed
Essentials-of-Compilatio
reservoir - Reservoir Sampling Algorithms in Haskell
ray-tracing - It's taking me longer than one weekend
linear-accelerate - Instances to mix linear with accelerate
monkey-rs