Previously I’ve decided to implement a rather basic raycasting engine in ClojureScript. It was a lot of fun, an interesting experience, and ClojureScript was awesome. I’ve implemented small labyrinth game, and thought about adding more features to the engine, such as camera shake, and wall height change. But when I’ve started working on these, I quickly understood, that I’d like to move on to something more interesting, like real 3D rendering engine, that also uses rays.
Update: All the patches1, 2 has been merged into main branch of Fennel language, so expect to see improved fennelview in next stable release! Some semantics have been altered, so I’ve updated the post a bit to reflect the changes. Pretty-printing in Lisp is a way to represent data structures that we operate in our program in a human-readable way.
Programming languages come in all shapes and sizes. There are pretty simple languages, and a really complex ones. But what unites most of these languages is the syntax. There are many languages so called C-like, as they share many syntax ideas with C language, which includes consistent indentation, grouping, scoping, infix notation.
Today’s topic will again be about text editing software (one of my favorite topics actually). However instead of discussing text editors itself, I’ll share my opinion on such thing as editor-hopping. What is editor-hopping? It’s well, when you change text editors every day/week/month/year.
For a long time I was a fan of Hack font. It has really nice language support, great readability at size of 9pt, and zero with a dot. I love when zero comes with a dot. Many fonts use zero with a line, to differentiate it from capital O, but on small sizes it is not great, however dot looks fine when both small and big.