Skip to content

Instantly share code, notes, and snippets.

View ashutoshrishi's full-sized avatar
🏠
Working from home

Rishi Ranjan ashutoshrishi

🏠
Working from home
View GitHub Profile
translateProc :: ProcDef -> Compiler ProcDef
translateProc proc =
evalLLVMComp $ do
let (ProcDefPrim proto _) = procImpln proc
logBlocks $ "Proto: " ++ show proto
return proc
Process: dota_osx [3179]
Path: /Users/USER/Library/Application Support/Steam/*/dota_osx
Identifier: dota_osx
Version: ???
Code Type: X86 (Native)
Parent Process: bash [3176]
Responsible: steam_osx [3156]
User ID: 501
Date/Time: 2015-08-28 15:33:05.981 +1000
#include<stdio.h>
#include <conio.h>
#define ARR_LENGTH 20
int search(int arr[],int len, int n);
int insert(int arr[],int len, int n, int p);
int delete(int arr[],int len, int p);
void print_arr(int arr[],int len);
@ashutoshrishi
ashutoshrishi / bubblesort.c
Created April 25, 2011 08:43
Set operations - comp assignment
#include <stdio.h>
#define ARR_S 10 // maximum array size
void input_arr(int arr[] , int size);
void print_arr(int arr[] , int size);
void bubble_sort(int arr[] , int size);
int main() {
int arr[10];