future
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
future [2020/02/17 09:45] – adminz | future [2020/02/22 18:11] (current) – jtwine | ||
---|---|---|---|
Line 4: | Line 4: | ||
===== Additional Intrinsic Statements ===== | ===== Additional Intrinsic Statements ===== | ||
By researching some more existing 9010A programs/ | By researching some more existing 9010A programs/ | ||
+ | |||
+ | |||
+ | ===== Poke (Write) Tables ===== | ||
+ | There is a good amount of 9LC code out there that has to deal with filing a decent range of memory with different values. | ||
+ | |||
+ | So I am thinking of implementing a type of table construct that can be coded easily, and processed by the compiler into the necessary '' | ||
+ | |||
+ | <code c> | ||
+ | WriteTable( 0x1000, 1, 2, 3, 4, 5, 6, 7, 8 ); | ||
+ | </ | ||
+ | |||
+ | Which would yield: | ||
+ | |||
+ | <code c> | ||
+ | Write @ 0x1000 = 1; | ||
+ | Write @ 0x1001 = 2; | ||
+ | Write @ 0x1002 = 3; | ||
+ | Write @ 0x1003 = 4; | ||
+ | Write @ 0x1004 = 5; | ||
+ | Write @ 0x1005 = 6; | ||
+ | Write @ 0x1006 = 7; | ||
+ | Write @ 0x1007 = 8; | ||
+ | </ | ||
+ | |||
+ | '' | ||
===== Additional Semantic Checks ===== | ===== Additional Semantic Checks ===== | ||
Line 40: | Line 65: | ||
Maybe one day... | Maybe one day... | ||
+ | |||
+ | ===== Method Call Syntax ===== | ||
+ | One of the things I have been kicking around is the possibility of making 10LC look more like //method calls// in a language like C/ | ||
+ | <code c> | ||
+ | Write @ 0x1000 = 1234; | ||
+ | </ | ||
+ | But would it be better or more appealing if the statement was written like: | ||
+ | <code c> | ||
+ | Write( 0x1000, 1234 ); | ||
+ | </ | ||
+ | Or maybe that would only be preferable to actual software developers/ | ||
+ |
future.1581954320.txt.gz · Last modified: 2020/02/17 09:45 by adminz