Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajout des booléens #13

Merged
merged 20 commits into from
May 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Ajout type BOOLEAN
  • Loading branch information
ilo80 committed May 7, 2024
commit 5c8c11a11e824482d0fe5afde00f52bc04dadc27
8 changes: 5 additions & 3 deletions Interpreter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ namespace InterpreterLib
{
public class Type
{
public static readonly int STRING = 1;
public static readonly int INTEGER = 2;
public static readonly int FLOAT = 3;
public static readonly int BOOLEAN = 0;
public static readonly int INTEGER = 1;
public static readonly int FLOAT = 2;
public static readonly int STRING = 3;

public static readonly int OPERATION = 4;
public static readonly int VARIABLE = 5;
public static readonly int FUNCTION = 6;
Expand Down