mirror of
https://github.com/irmen/prog8.git
synced 2025-02-16 22:30:46 +00:00
+ add TODOs re ICompilationTarget
This commit is contained in:
parent
d31a88206c
commit
7b89228fa7
@ -24,6 +24,8 @@ interface ICompilationTarget: IStringEncoding, IMemSizer {
|
|||||||
override fun encodeString(str: String, altEncoding: Boolean): List<Short>
|
override fun encodeString(str: String, altEncoding: Boolean): List<Short>
|
||||||
override fun decodeString(bytes: List<Short>, altEncoding: Boolean): String
|
override fun decodeString(bytes: List<Short>, altEncoding: Boolean): String
|
||||||
|
|
||||||
|
// TODO: rename param target, and also AST node AssignTarget - *different meaning of "target"!*
|
||||||
|
// TODO: remove param program - can be obtained from AST node
|
||||||
fun isInRegularRAM(target: AssignTarget, program: Program): Boolean {
|
fun isInRegularRAM(target: AssignTarget, program: Program): Boolean {
|
||||||
val memAddr = target.memoryAddress
|
val memAddr = target.memoryAddress
|
||||||
val arrayIdx = target.arrayindexed
|
val arrayIdx = target.arrayindexed
|
||||||
|
Loading…
x
Reference in New Issue
Block a user