Tom Tsagk
|
2851068703
Add `return` keyword, and functions with non-void return value
|
3 anni fa |
Tom Tsagk
|
58a00828f5
Re-add `multistring` to be able to compile shaders in games
|
3 anni fa |
Tom Tsagk
|
0fe733c4d6
Add support for floats in `echo`
|
3 anni fa |
Tom Tsagk
|
4534d38d6b
Add back `extern` variables, add better control for arrays, references and passing them around
|
3 anni fa |
Tom Tsagk
|
4d85f3f9c9
Add ability to define "reference" variables, and use them around
|
3 anni fa |
Tom Tsagk
|
619aa97cbd
Re-add automatic initialisation of arrays
|
3 anni fa |
Tom Tsagk
|
85725a3782
Cleanup final parser, re-added `for` command
|
3 anni fa |
Tom Tsagk
|
a84e42d2b2
Print semicolons for statements in functions too
|
3 anni fa |
Tom Tsagk
|
cef3301212
Better parse for statements within calculations
|
3 anni fa |
Tom Tsagk
|
a787f168c6
Add `asset` command back, make variables that own other objects find them properly within parent classes
|
3 anni fa |
Tom Tsagk
|
f30294797e
Make defining parent class optional, lexer now parses negative numbers, fix a bug when reporting the filename currently parsed
|
3 anni fa |
Tom Tsagk
|
342d159f4d
Add support for included files, function calls from classes, `fade` is now compilable again
|
3 anni fa |
Tom Tsagk
|
ca13652930
Add better support for classes, and initial support for class function
|
3 anni fa |
Tom Tsagk
|
f706d68c77
Re-implement part of the final parser of the ast tree
|
3 anni fa |
Tom Tsagk
|
549a96247c
Remove all `lex` and `yacc` references
|
3 anni fa |
Tom Tsagk
|
a247aa4dce
Initial implementation of replacing `lex` and `yacc`
|
3 anni fa |
Tom Tsagk
|
236f509fa4
Check for member of struct through all parents
|
3 anni fa |
Tom Tsagk
|
0f1cbaeeb3
Compiler now detects when variable is not member of struct, add new sample to show how to save/load data
|
3 anni fa |
Tom Tsagk
|
7d1f54a505
Implement initial design of `avdl_assetManager`, which loads assets in the background. Currenly only for android
|
3 anni fa |
Tom Tsagk
|
4ea5f6d0a2
Add support for multiline strings, add support for defining custom shaders with "avsl"
|
3 anni fa |
Tom Tsagk
|
65bfa0fe51
Re-instate now optimised font shaders, some organisation here and there
|
3 anni fa |
Tom Tsagk
|
2e8049b390
Allow classes to use `0` as subclass (no subclass), record local variable names to pass them around
|
3 anni fa |
Tom Tsagk
|
e668421a0d
Add auto-cleaning functionality
|
3 anni fa |
Tom Tsagk
|
4f2b179c48
Arrays are initialised automatically
|
3 anni fa |
Tom Tsagk
|
8c1988096a
Rename internal engine to `avdl-cengine` and organise it's build process
|
3 anni fa |
Tom Tsagk
|
678c47ff82
Organise transpilation process
|
3 anni fa |
Tom Tsagk
|
bc265f30a5
Make `echo` use `dd_log` to print messages in all supported platforms, update engine
|
3 anni fa |
Tom Tsagk
|
f59672bb02
Update engine, add `-t` for transpiling cross-platform, add support for
|
3 anni fa |
Tom Tsagk
|
a32262acce
Add `--android` to compile assets for android
|
3 anni fa |
Tom Tsagk
|
503613e537
Add `char` variables, to manipulate strings easier
|
4 anni fa |