Published inLevel Up CodingRepresenting Data Structures with First Class FunctionsI was talking to my roommate about how all data structures can be emulated through function compositions the other day so I thought I’d…Oct 11, 2021Oct 11, 2021
Published inCodeXWriting a LISP-y JSON Interpreter in 115 lines of codeA few days ago, I wrote Javascripth, a lispy scripting language that uses JSON as its concrete syntax. It’s a single phase treewalk…Aug 9, 2021Aug 9, 2021
Published inGeek CultureComparing Rust, C++, Scala, and other languages by implementing an ASTAbstract Syntax Trees (ASTs) are an interesting data structure because their representation varies widely across type systems. While I’m…May 10, 20211May 10, 20211
Published inLevel Up CodingWriting a Tiny Stack VM in RustA few days ago I wrote a super simple postfix expression evaluator to demonstrate how stacks could be used. Afterwards, I decided to…Apr 6, 2021Apr 6, 2021
Published inLevel Up CodingI accidentally Wrote a Lua Game EngineI probably should’ve seen it comingJan 4, 2021Jan 4, 2021
Published inLevel Up CodingFrom Go to Haskell + SvelteMy experience writing a simple web server with Haskell and SvelteOct 30, 2020Oct 30, 2020
Published inCodeXSome cool fibonacci functions in a few different languagesTraditional recursion, infinite lists, and plenty of onelinersOct 24, 2020Oct 24, 2020
Published inCodeXWhat Makes A Programming Language Too Complicated?One of the most important aspects of a programming language is its complexity. Languages that are too simple are often thought of as…Aug 4, 20201Aug 4, 20201
Using Lua As A Serialization FormatThis is somewhat of a followup to my post on Lua integration from a few days ago.Jul 23, 2020Jul 23, 2020
Pitfalls when writing a go server for aws ec2I’ve recently been writing a Go server for my my website at mikail-khan.com. I’ve never used Go, and I’ve never deployed a server to a…May 16, 2020May 16, 2020