Closed ricardoboss closed 12 months ago
Things done in this branch:
StepLang.Parsing.Statements
StepLang.Statements
StepLang.Parsing.Expressions
StepLang.Expressions
ExpressionResult
StepLang.Expressions.Results
ConstantExpression
LiteralExpression
BinaryExpression
UnaryExpression
NotEquals
Not
Equals
Expression.Constant
LiteralExpression.<type>
return void
FunctionResult.VoidFunction
ToExpression
ToLiteralExpression
All in all these are some changes I had in mind for a long time.
Things done in this branch:
StepLang.Parsing.Statements
toStepLang.Statements
StepLang.Parsing.Expressions
toStepLang.Expressions
and allExpressionResult
s toStepLang.Expressions.Results
ConstantExpression
toLiteralExpression
(because that's what it actually is)BinaryExpression
s to theBinaryExpression
classUnaryExpression
s to theUnaryExpression
classNotEquals
helper toBinaryExpression
(was a compound expression usingNot
andEquals
which resulted in aUnaryExpression
)Expression.Constant
helpers and replaced them withLiteralExpression.<type>
callsreturn void
fromFunctionResult.VoidFunction
so now it is just an empty function (implicitly returning void)ToExpression
helper toToLiteralExpression
inExpressionResult
All in all these are some changes I had in mind for a long time.