summaryrefslogtreecommitdiff
path: root/proposition.h
blob: d2f5ac6393f790f3b99b9b43bbd2ab2959f6c108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef PROPOSITION
#define PROPOSITION
#include "lexer.h"
typedef struct Proposition {
	struct Proposition* propA;
	struct Proposition* propB;
	tokenType_t relation;
	char* name;
	char isSimple;
} prop_t;
prop_t init_prop(prop_t* propA, prop_t* propB, tokenType_t relation);
prop_t init_simple_prop(char* name);
typedef struct Justification {
	tokenType_t rule;
} just_t;
#endif