Skip to content

Instantly share code, notes, and snippets.

View Sleepful's full-sized avatar
🐢
boo 👻

Jose Vargas Sleepful

🐢
boo 👻
View GitHub Profile
#exec(open("C:/Users/Pablo.PABLO-XPS/Documents/python/billscript.py").read())
filepath = "C:/Users/Pablo.PABLO-XPS/Documents/python/"
filename = "april"
fileext = ".txt"
bills = {}
class Bill:
def __init__(self, price, details):
push() //no recibe nada?
codegen_logical() //supongo que hace el asm apartir del output?
codegen_algebric() // ?
int string_to_num(char*) // devuelve 1 o 0
codegen_assign() // ?
/* the "incl" state is used for picking up the name
* of an include file
*/
%x incl
%{
%}
%%
"include \"" BEGIN(incl);
@Sleepful
Sleepful / makefile
Last active October 16, 2017 18:10
all: bison
bison: main.o lex.yy.c
cc -o $@ main.o bison.tab.c lex.yy.c -lfl
main.o: main.c
cc -c main.c
lex.yy.c: bison.l bison.y
bison -d bison.y
/* Hello World program */
#include<stdio.h>
#include "structs.h"
main()
{
int a = 3;
printf("Hello World %d \n", a);
arqui* r;
//______________________CLASE____________________//
var urlOrden = '@Url.Action("getOrden", "Account")';
var avesOrden = $('#Orden'); // caches element from a @html.dropdownlist in the HTML
$('#Clase').change(function () {
onchangeClase($(this).val());
//if i place onchangeSuborden("") here it doesnt work well
});