Irmen de Jong
|
ba6db8f905
|
Merge branch 'master' into next_compositetypes
# Conflicts:
# compiler/src/prog8/compiler/astprocessing/AstChecker.kt
# compiler/src/prog8/compiler/astprocessing/StatementReorderer.kt
# compiler/src/prog8/compiler/astprocessing/VariousCleanups.kt
# compiler/test/TestSubroutines.kt
|
2024-10-12 13:40:39 +02:00 |
|
Irmen de Jong
|
8d9bc2f5ff
|
fixing all sorts of things about assigning arrays to arrays
|
2024-10-12 12:33:46 +02:00 |
|
Irmen de Jong
|
1a6b95b388
|
house cleaning
|
2024-10-10 20:46:18 +02:00 |
|
Irmen de Jong
|
3d76240c84
|
Merge branch 'master' into next_compositetypes
# Conflicts:
# compiler/test/TestNumericLiteral.kt
# compilerAst/src/prog8/ast/expressions/AstExpressions.kt
# docs/source/todo.rst
|
2024-10-09 23:33:42 +02:00 |
|
Irmen de Jong
|
ed09dd4e9e
|
improve automatic type conversions for return values, fixes #155
|
2024-10-09 20:04:05 +02:00 |
|
Irmen de Jong
|
7afd716fab
|
Merge branch 'master' into next_compositetypes
# Conflicts:
# codeCore/src/prog8/code/core/BuiltinFunctions.kt
# compiler/src/prog8/compiler/astprocessing/AstChecker.kt
# examples/test.p8
|
2024-10-08 22:58:26 +02:00 |
|
Irmen de Jong
|
7c69d38588
|
scan all asmsubs to see if another subroutine is referenced. Fixes #153
|
2024-10-07 20:39:49 +02:00 |
|
Irmen de Jong
|
d1ddf05e38
|
check that block address leaves room for program startup logic
|
2024-10-03 22:30:06 +02:00 |
|
Irmen de Jong
|
51279a98b3
|
attempt to fix forloop range datatype issues
|
2024-10-03 21:12:31 +02:00 |
|
Irmen de Jong
|
48268bee3e
|
Merge branch 'master' into next_compositetypes
# Conflicts:
# codeGenCpu6502/src/prog8/codegen/cpu6502/BuiltinFunctionsAsmGen.kt
# compiler/src/prog8/compiler/astprocessing/TypecastsAdder.kt
# examples/test.p8
|
2024-10-02 23:49:45 +02:00 |
|
Irmen de Jong
|
fff0d741c3
|
improved parsing of "not in" operator, and [] array signature (allow space)
|
2024-10-02 19:06:20 +02:00 |
|
Irmen de Jong
|
09f3eecf56
|
changed cx16/rotating-stars example to starszoom instead.
|
2024-10-02 01:36:54 +02:00 |
|
Irmen de Jong
|
2bd4326ff6
|
added cx16/rotating-stars example
|
2024-10-01 23:43:50 +02:00 |
|
Irmen de Jong
|
ea3871d0c4
|
comment about builtin function call ast node type
|
2024-10-01 02:14:31 +02:00 |
|
Irmen de Jong
|
7ca301e511
|
Merge branch 'master' into next_compositetypes
# Conflicts:
# codeGenCpu6502/src/prog8/codegen/cpu6502/ProgramAndVarsGen.kt
# compilerAst/src/prog8/ast/SymbolDumper.kt
# compilerAst/src/prog8/ast/expressions/AstExpressions.kt
|
2024-09-30 01:53:25 +02:00 |
|
Irmen de Jong
|
a064ade1e0
|
better codegen for call() function
|
2024-09-29 23:18:51 +02:00 |
|
Irmen de Jong
|
ba74e277b1
|
Merge branch 'master' into next_compositetypes
# Conflicts:
# compiler/test/ast/TestVariousCompilerAst.kt
|
2024-09-26 02:23:12 +02:00 |
|
Irmen de Jong
|
4c843571ea
|
fix syntax error check for missing return statement
|
2024-09-26 01:52:33 +02:00 |
|
Irmen de Jong
|
b7ebd8c4a6
|
update cx16/audioroutines example to use the new audio module
|
2024-09-26 00:08:25 +02:00 |
|
Irmen de Jong
|
983a202c82
|
Merge branch 'refs/heads/master' into next_compositetypes
# Conflicts:
# compiler/src/prog8/compiler/astprocessing/TypecastsAdder.kt
|
2024-09-24 23:18:32 +02:00 |
|
Irmen de Jong
|
e29ff1c848
|
fix name redefinition check for multi-declarations
|
2024-09-20 19:55:32 +02:00 |
|
Irmen de Jong
|
5cda750e5e
|
improve error message for undefined symbol in when choices
|
2024-09-18 23:00:03 +02:00 |
|
Irmen de Jong
|
a737547fe9
|
Merge branch 'master' into next_compositetypes
# Conflicts:
# codeCore/src/prog8/code/ast/AstExpressions.kt
# codeCore/src/prog8/code/optimize/Optimizer.kt
# codeGenCpu6502/src/prog8/codegen/cpu6502/ForLoopsAsmGen.kt
# codeGenCpu6502/src/prog8/codegen/cpu6502/assignment/AssignmentAsmGen.kt
# codeGenIntermediate/src/prog8/codegen/intermediate/ExpressionGen.kt
# codeGenIntermediate/src/prog8/codegen/intermediate/IRCodeGen.kt
# codeOptimizers/src/prog8/optimizer/StatementOptimizer.kt
# compiler/src/prog8/compiler/astprocessing/LiteralsToAutoVars.kt
# compiler/src/prog8/compiler/astprocessing/VariousCleanups.kt
# docs/source/todo.rst
# examples/test.p8
|
2024-09-12 23:32:23 +02:00 |
|
Irmen de Jong
|
255c5bfaca
|
improve containment check for few values
|
2024-09-11 03:24:30 +02:00 |
|
Irmen de Jong
|
4e98fb75d6
|
support assigning multiple return flags from asmsub in 6502 codegen
|
2024-09-09 22:56:40 +02:00 |
|
Irmen de Jong
|
8f5d42dbc2
|
more tests and some cleanups/fixes
|
2024-09-08 23:01:49 +02:00 |
|
Irmen de Jong
|
759babb4c1
|
rename back to DataType
|
2024-09-08 22:59:08 +02:00 |
|
Irmen de Jong
|
a1dfcd07a8
|
fixing things
|
2024-09-08 22:58:40 +02:00 |
|
Irmen de Jong
|
c41dc98936
|
making datatype more capable (subtypes)
|
2024-09-08 22:58:36 +02:00 |
|
Irmen de Jong
|
e80c22275d
|
making datatype more capable (subtypes)
|
2024-09-08 22:58:35 +02:00 |
|
Irmen de Jong
|
74e305b90c
|
making datatype more capable (subtypes)
|
2024-09-08 22:57:49 +02:00 |
|
Irmen de Jong
|
edc5a5a94f
|
improve data driven unit tests to use kotest withData()
|
2024-09-08 16:55:08 +02:00 |
|
Irmen de Jong
|
c5b7edad82
|
added memsizer unit tests
|
2024-09-08 15:24:47 +02:00 |
|
Irmen de Jong
|
6d2a36fb2b
|
testcase improvement
|
2024-09-06 22:51:26 +02:00 |
|
Irmen de Jong
|
0eac04c220
|
added cx16/life.p8 example (Conway's game of life)
|
2024-09-06 15:21:29 +02:00 |
|
Irmen de Jong
|
29dd758302
|
Fix compiler crash in for loops with just 1 iteration
|
2024-09-05 21:26:46 +02:00 |
|
Irmen de Jong
|
2da35fec17
|
remove requirement to end subroutine with an EOL, so oneliners are now possible
main { sub start() { cx16.r0++ cx16.r1++ } }
|
2024-09-01 20:55:43 +02:00 |
|
Irmen de Jong
|
bdeac74cfc
|
removed the -nostrictbool compiler option
boolean types and bytes are no longer implicitly interchangeable using this option
|
2024-09-01 20:53:39 +02:00 |
|
Irmen de Jong
|
8f6eaeac2c
|
half width katakana conversion
|
2024-08-21 18:51:34 +02:00 |
|
Irmen de Jong
|
d12b7ccc6b
|
fix syslib importing for raw outputs. fixes #144
|
2024-08-19 13:33:02 +02:00 |
|
Irmen de Jong
|
0ec719e429
|
cx16: added a polling pcm streaming example
|
2024-07-23 21:37:11 +02:00 |
|
Irmen de Jong
|
17f7b11148
|
tweaks cx16 sample streaming example, also added a new one
|
2024-07-23 02:10:05 +02:00 |
|
Irmen de Jong
|
966b017670
|
tweaks
|
2024-07-22 18:20:01 +02:00 |
|
Irmen de Jong
|
2aae1f5e30
|
stricter checks for negative array indexing
|
2024-07-20 22:37:03 +02:00 |
|
Irmen de Jong
|
484677b4b1
|
Get rid of any() and all() builtin functions.
Replaced by regular subroutines in the anyall module.
|
2024-07-06 18:49:03 +02:00 |
|
Irmen de Jong
|
25f25a8767
|
Get rid of sort() and reverse() builtin functions.
Sort() had too many gotchas and reverse() is kinda redundant you can loop in decreasing order through an array too.
|
2024-07-06 17:07:58 +02:00 |
|
Irmen de Jong
|
ddf990296b
|
fix subroutine inlining symbol scope error
|
2024-06-29 18:53:54 +02:00 |
|
Irmen de Jong
|
4f8aaf9244
|
some tweaks and todos
|
2024-06-26 21:22:40 +02:00 |
|
Irmen de Jong
|
54bffc91ae
|
properly generate PUSH and POP instructions for push() and pop() calls in IR.
Also switch to a fork of shadowJar to avoid Gradle deprecation errors.
|
2024-06-25 22:39:20 +02:00 |
|
Irmen de Jong
|
034f27a8dd
|
added queens example, update kotest lib
|
2024-06-19 23:57:43 +02:00 |
|