Skip to content

Instantly share code, notes, and snippets.

View earthling-shruti's full-sized avatar

Saishruti Shetty earthling-shruti

View GitHub Profile
string getName() const
{
return name;
}
a = (b) ->
b*2
#include <iostream>
#include <fstream>
#include <istream>
#include <cstdlib>
#include <math.h>
using namespace std;
int main () {
char c;
int num = 0;
28
256f
b0
25a1
b0
ff09
256f
fe35
20
253b
public class HelloWorld{
public static void main(String[] args){
String something = "(╯°□°)╯︵ ┻━┻ /(.□.)\\ /(.□.)\\ ┻━┻ /(.□.)\\";
//"╯°□°)╯︵ ┻━┻";
for(int i = 0; i < something.length(); i++){
System.out.println(Integer.toHexString(something.charAt(i)));
}
}
}
let rec xs = [if x `elem` [1,2..] then x else rec x| x <- xs]
@LOOPSTART
FFI << @LOOK @WEST
testtgoto @PULLWEST
FFI << @LOOK @SOUTH
testtgoto @PULLSOUTH
FFI << @LOOK @NORTH
testtgoto @PULLNORTH
FFI << @MOVE @WEST
goto << @LOOPSTART
@LOOPSTART
goto << @PULLWEST
@PULLEAST
FFI << @PULL @EAST
FFI << @MOVE @EAST
FFI << @LOOK @NORTH
testtgoto << @PULLNORTH
FFI << @LOOK @SOUTH
testtgoto << @PULLSOUTH
@LOOPSTART
FFI << @LOOK @EAST
testtgoto << @PULLEAST
FFI << @LOOK @SOUTH
testtgoto << @PULLSOUTH
FFI << @LOOK @NORTH
testtgoto << @PULLNORTH
FFI << @MOVE @WEST
goto << @LOOPSTART
@LOOPSTART
CALLFF << @LOOK @EAST 2
DUP
EQUAL << @CELL_ROBOT
IFTGOTO << @MOVEBOTNORTH
EQUAL << @CELL_RESOURCE
IFTGOTO << @PULLRESOURCEEAST
CALLFF << @LOOK @WEST 2