Skip to content

Instantly share code, notes, and snippets.

Fogus fogus

Block or report user

Report or block fogus

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fogus / enfield.rkt
Created Feb 19, 2013
The complete implementation of Enfield including interpreter, core library, IDE, compiler, web server and pictures of fish. Patches welcomed!
View enfield.rkt
#lang racket
fogus / lisp_ch1.clj
Created Aug 15, 2012
Chapter 1 from Lisp in Small Pieces
View lisp_ch1.clj
(ns lisp-ch1)
(def self-evaluating?
(some-fn number? string? char?
true? false? vector?))
(defn -atom? [s]
(or (self-evaluating? s)
(symbol? s)))
fogus / 0 - UNIX Fifth Edition
Created Jul 20, 2011
UNIX V5, OpenBSD, Plan 9, FreeBSD, and GNU coreutils implementations of echo.c
View 0 - UNIX Fifth Edition
main(argc, argv)
int argc;
char *argv[];
int i;
for(i=1; i<=argc; i++)
printf("%s%c", argv[i], i==argc? '\n': ' ');
View bgg.clj
[{:db/id "ff"
:bgg/id "17"
:publisher/name "Fantasy Flight Games"}
{:db/id "nate-french"
:bgg/id "11655"
:designer/name "Nate French"}
{:db/id "matt-newman"
:bgg/id "40573"
fogus /
Created Aug 11, 2011 — forked from jasonrudolph/
Programming Achievements: How to Level Up as a Developer
layout title date categories
12 Icehouse designs in 2014
2014-12-30 00:36:15 -0800
gamedes icehouse

At one point this year I decided to challenge myself to create 10 Icehouse game designs this year. The precise reasoning for my self-imposed challenge is lost to the dustbin of history (or perhaps at the bottom of a wine glass). That said, the challenge was set and amazingly I managed to meet it. The following games were designed by me in 2014 (sorted in order of my favorite):

  1. [Logistics][l1] -- *I actually think that this is a legitimately
fogus / dcs.rkt
Created Jul 26, 2019 — forked from rain-1/dcs.rkt
Dotted Canonical S-expressions - DCSexps
View dcs.rkt
#lang racket
;; printing s-exps as DCS and TDCS, plus examples of what DCS and TDCS look like
(define (dcs l)
(cond ((pair? l)
(display ".")
(dcs (car l))
(dcs (cdr l))))
View lz77.c
/* PROG1.C */
/* Simple Hashing LZ77 Sliding Dictionary Compression Program */
/* By Rich Geldreich, Jr. October, 1993 */
/* Originally compiled with QuickC v2.5 in the small model. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
/* set this to 1 for a greedy encoder */
You can’t perform that action at this time.