31 rinda
No EOL
455 B
C
31 rinda
No EOL
455 B
C
#ifndef PILE_H
|
|
#define PILE_H
|
|
|
|
|
|
|
|
struct Cell;
|
|
|
|
struct Cell{
|
|
int Ent;
|
|
struct Cell * Suiv;
|
|
};
|
|
|
|
struct Pile{
|
|
int nbElements;
|
|
struct Cell * Pil;
|
|
};
|
|
|
|
typedef struct Programme {
|
|
char **tokens;
|
|
int taille;
|
|
} Programme;
|
|
|
|
void Init_Pile(struct Pile * new);
|
|
void Empiler(struct Pile * P, int i);
|
|
struct Cell * Depiler(struct Pile * P);
|
|
void Affichage(struct Cell * C);
|
|
|
|
int numberOfDelimiters(char* string);
|
|
Programme* lexer(char* chaine);
|
|
|
|
#endif |