Skip to content

Instantly share code, notes, and snippets.

Avatar

Theodore 6167656e74323431

View GitHub Profile
View MCPT_Footer_Quotes.json
@6167656e74323431
6167656e74323431 / bfcc.rb
Created Apr 22, 2020
Just another BrainFuck compiler.
View bfcc.rb
################################################################################
# The BrainFuck to C Compiler #
################################################################################
# The BrainFuck to C Compiler (BFCC) is a ruby program that compiles Brainfuck
# code into C code. BFCC takes Brainfuck code via the STDIN stream, and outputs
# C code to the STDOUT stream.
#
# If any errors occur, a debugging message will be printed to the STDERR stream
# and the program will exit immediately with a failure exit code. No output
# will be printed to STDOUT upon failure.
View .ICS3U In-Class Contest Template
ICS3U In-Class Contest Template
View keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object:

View SingleLinkedList.c
#include <stdio.h>
#include <stdlib.h>
typedef struct ListNode // list node structure
{
int value;
struct ListNode * next;
} node_t;
node_t * newList(unsigned int size, int node_values[]) // craete a new linked list
View ShallNotBeNamed.c
#include <stdio.h>
#include <stdlib.h>
int loopCheck(FILE *file)
{
int close_counter = 0;
int open_counter = 0;
char current_char;
while ((current_char = fgetc(file)) != EOF)
You can’t perform that action at this time.