Skip to content

v0.8.0

Compare
Choose a tag to compare
@arturkasperek arturkasperek released this 14 Jan 11:35

Changelog

Features

  • Added possibility to use custom externals file for compilation
  • Added extern keyword for declarations of external functions
  • Added possibility of assignment when declaring a variable
  • Added SingleExpressionWarning (usage of single-expression statement hack)
  • Added NamesNotMatchingCaseWiseWarning (when declared & used identifier doesn't match case-wise)
  • Added UnusedSymbolWarning (basic support, for full support we would need to parse .ZEN files)
  • Added ConstValueChangedWarning (when trying to change value of a const in runtime)
  • Added UsageOfNonInitializedVariableWarning
  • Added CannotInitializeConstWithValueOfDifferentTypeError
  • Added CannotInitializeArrayElementWithValueOfDifferentTypeError
  • Added ArgumentsCountDoesNotMatchError
  • Added SymbolIsNotAFunctionError
  • Added UndeclaredIdentifierError (full support)
  • Added WrongClassSizeError (some builtin classes require to have exact size)
  • Added UnknownTypeNameError
  • Added IterationStatementNotInLoopError
  • Added NotConstReferenceError
  • Added ArraySizeNotConstIntegerError
  • Added ArrayIndexNotConstIntegerError
  • Added ReferencedSymbolIsNotArrayError
  • Added AttributeOfNonInstanceError
  • Added InfiniteInheritanceReferenceLoopError
  • Added InfiniteConstReferenceLoopError
  • Added InvalidBinaryOperationError
  • Added ArithmeticOperationOverflowError
  • Added DivideByZeroError
  • Added InvalidArgumentTypeToUnaryExpressionError
  • Added BinaryOperationsNotAllowedInsideFloatExpression
  • Added FloatDoesntSupportCompoundAssignments
  • Added UnsupportedOperationError
  • Added InvalidUnaryOperationError
  • Added AccessToAttributeOfArrayElementNotSupportedError
  • Added InconsistentArraySizeError
  • Added ArraySizeEqualsZeroError
  • Added IntegerLiteralTooLargeError
  • Added UnsupportedArrayTypeError
  • Added UnsupportedFunctionTypeError
  • Added UnsupportedTypeError
  • Added ClassDoesNotHaveAttributeError
  • Added VarAssignmentNotAllowedHereError