Skip to content

Rena Cava

  • Projects
  • Code

Category: Code

Thanos saying "Fine, I'll do it myself."
Cat Links Code

Implementing OOP Yourself

Posted on Rena Cava

It’s a sunny day. Birds are singing, the wind is blowing, the sun is shining, and your language doesn’t support

ViewImplementing OOP Yourself

Cat Links Code

Writing portable code by dispatching on implementation

Posted on Rena Cava

In the post on sorting functions by their sizes in assembly, a function was written to read a non-standardised output

ViewWriting portable code by dispatching on implementation

Cat Links Code

Sorting functions by their sizes in bytes of assembly

Posted on Rena Cava

Back in the post on defining your own for-loop macro, I hurried over something like a performance comparison of our

ViewSorting functions by their sizes in bytes of assembly

Cat Links Code

A function guaranteed to return True when given a winning lottery-number

Posted on Rena Cava

100% guaranteed to return True when passed a winning number: It also returns True when given a non-winning number, but

ViewA function guaranteed to return True when given a winning lottery-number

Cat Links Code

Functions That Redefine Themselves

Posted on Rena Cava

Function definition doesn’t have to be a top-level form, it can even be self-referential. By placing a defun form within

ViewFunctions That Redefine Themselves

Cat Links Code

A For-Loop of One’s Own

Posted on Rena Cava

Here’s how to make your own conditionally-executed for-loop with procedurally-generated recursive functions. You’ll never need it and it’s almost definitely

ViewA For-Loop of One’s Own

Cat Links Code, Projects

CLUI: 2D Graphics for Common Lisp

Posted on Rena Cava

CLUI is a constraint-based 2D graphics library for Common Lisp, built atop OpenGL. In CLUI, we define shape-classes and then

ViewCLUI: 2D Graphics for Common Lisp

Cat Links Code

Closures: The Poor Man’s Object

Posted on Rena Cava

Common Lisp comes with a really robust OOP system, CLOS. A good deal of Common Lisp itself is made with

ViewClosures: The Poor Man’s Object

Cat Links Code

The Absolute Silliness of Common Lisp Initial Function Arg Values

Posted on Rena Cava

We can define functions in Common Lisp that accept optional arguments, which have default values if the user doesn’t provide

ViewThe Absolute Silliness of Common Lisp Initial Function Arg Values

Categories

  • Code
  • Projects

Lisp Fun

  • Thanos saying "Fine, I'll do it myself."
    Implementing OOP Yourself
    It’s a sunny day. Birds are singing, the wind is blowing, the sun is shining, and your language doesn’t support … Read more
  • Writing portable code by dispatching on implementation
    In the post on sorting functions by their sizes in assembly, a function was written to read a non-standardised output … Read more
  • Sorting functions by their sizes in bytes of assembly
    Back in the post on defining your own for-loop macro, I hurried over something like a performance comparison of our … Read more
  • A function guaranteed to return True when given a winning lottery-number
    100% guaranteed to return True when passed a winning number: It also returns True when given a non-winning number, but … Read more
  • Functions That Redefine Themselves
    Function definition doesn’t have to be a top-level form, it can even be self-referential. By placing a defun form within … Read more

Projects

  • A.B.Z.D. – A Better Zombie Defence
    A.B.Z.D. was my response to Y.A.Z.D., Yet Another Zombie Defense. Y.A.Z.D. was a 2014 top-down round-based zombie-shooter, in a single … Read more
  • Painter’s Dream – An AI Style Transfer AMV
    Around the same time I was working on A.B.Z.D., a friend of mine told me about an upcoming AMV editing … Read more
  • Match-3-Skeleton in Godot for Android
    I’ve been hired to make a match-3-maker in Godot. I don’t really have much to say about it, there’s no … Read more
  • Recursive Neural Nets and How To Raise Them
    For work, I’ve been raising families of RNN’s. This here is a family-tree of connectomes, AIs. Each point in the … Read more
  • CLUI: 2D Graphics for Common Lisp
    CLUI is a constraint-based 2D graphics library for Common Lisp, built atop OpenGL. In CLUI, we define shape-classes and then … Read more
  • Astra: Fraud Detection Software
    This post is going to be short, since I legally cannot get into the details. Some fuel companies negotiate deals … Read more
Copyright © 2025 Rena Cava | Signify Dark by WEN Themes
Scroll Up