Viewing profile — richard_shelton
richard_shelton
HN member- Joined
- Sat, Apr 29, 2017, 11:51 AM UTC
- HN karma
- 151
- Public activity
- 61 items
- HN profile
- View on Hacker News ↗
About richard_shelton
Recent public activity
-
comment
Comment #47700988
I am building educational 16-bit game console for low-cost FPGA chips. https://github.com/true-grue/Brus-16
-
comment
Comment #44931267
A microlibrary in 52 LOC.
- story
-
comment
Comment #44282007
In some parallel world, Python is the perfect tool for language-oriented programming. Any decorated function is compiled by its own DSL compiler into the internal representation of…
-
comment
Comment #44277143
Or you can use Python AST + Z3 :) Here is a toy implementation: https://github.com/true-grue/python-dsls/blob/main/datalog/d...
-
comment
Comment #42923330
It's funny how close it is to the title of my talk "Python already has a frontend for your compiler": https://github.com/true-grue/python-dsls
-
comment
Comment #40143834
I hope someone will write an article about Gary Kildall's achievements in theory of compilation. For us, compiler writers, he is a legendary figure.
-
comment
Comment #39758419
What I like about these notes is that a complex topic is described in a simple and very practical manner. By the way, a few years ago there was another project on creating a code g…
-
comment
Comment #38635816
Here are more real-world, compiler-related examples: https://github.com/true-grue/python-dsls/blob/main/python_ds...
-
comment
Comment #32879412
By the way, there is a similar work to Unison project. Its basic idea is to automate the compiler backend generation with help of SMT solver. The article: https://link.springer.com…
- story
-
comment
Comment #29140636
Basically, yes, so I tried to make a simple implementation as possible. And I'm taking into account that students are already familiar with postfix notation and stack data structur…
-
comment
Comment #29140234
If you are familiar with Forth, Postscript, or Joy you should have no problems with programming in Fortik :) Still, the idea of Fortik is to encourage students to learn how simple …
- story
- story
-
comment
Comment #23145821
The chip is closer to AsAP [1] and XMOS xCore [2]. I remember that these two chips-competitors already existed when I was programming the predecessor of Greenarrays GA144. By the w…
-
comment
Comment #21945349
Sure, my code is only a demonstration that you can fit everything in Again, thank you very much for all your education reverse engineering works!
-
comment
Comment #21944865
Here is my simple port of VoxelSpace (74 sloc). Written in Python 3, no additional libraries required. https://github.com/true-grue/terrain Looks like Python+Tkinter is a good demo…
-
comment
Comment #20796098
About Warren's article. I just returned it back, sorry for the inconvenience :) By the way, you may find basically the same description of the compiler in The Art of Prolog book.
- story
-
comment
Comment #18697939
And here is an another pattern matching implementation for Python [1]. It was made for compilers construction task and may look similiar for those who has an experience with Prolog…
-
comment
Comment #18601026
Thank you, really interesting reading! It would be interesting to see how this rule ("x = (y + c1) + c2 => x = y + (с1 + с2)") was encoded in the compiler. I guess it has more comp…
-
comment
Comment #18422872
I think there definitely is some similarity between Kuryokhin and Zoshchenko. "Stories about Lenin" by M. Zoshchenko have some absurd/satire elements. And these elements were almos…
-
comment
Comment #18422797
You almost made me think that "Wag the Dog" is a Russian movie [1]. [1] https://en.wikipedia.org/wiki/Wag_the_Dog
- story