Skip to content

Instantly share code, notes, and snippets.

/* file: "tinyc.c" */
/* Copyright (C) 2001 by Marc Feeley, All Rights Reserved. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*
* This is a compiler for the Tiny-C language. Tiny-C is a
@gusteivos
gusteivos / rm.bat
Created November 25, 2024 14:40
rm.bat again
@echo off
SET v=0
:begin
if "%1" == "-f" goto :begin-end
if "%1" == "-v" (
SET v=1
goto :begin-end
@gusteivos
gusteivos / s_tm.c
Created November 9, 2023 14:41
my Turing machine set to repeat 0 1
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define BLANK ' '
#define ONE '1'
#define ZERO '0'