This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import extensions; | |
import system'io; | |
import system'routines; | |
public vmToAsm(var s) | |
{ | |
int pos := s.indexOf(0, "."); | |
int lastPos := pos; | |
while (pos != -1) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define system. | |
#define system'math. | |
#define system'routines. | |
#define extensions. | |
// --- Program --- | |
#symbol Program = | |
[ | |
// reading |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define system. | |
#define system'text. | |
#define extensions'text. | |
#class FileEnumerator | |
{ | |
#field(type:bytearray)theStruct. | |
#field theHandle. | |
#field theSearchPath. | |
#field theOpen. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define system. | |
#define extensions. | |
#class MyNumber | |
{ | |
#field theValue. | |
#constructor new : aValue | |
[ | |
theValue := aValue. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define system. | |
#define extensions. | |
#class MyNumber | |
{ | |
#field theValue. | |
#constructor new : aValue | |
[ | |
theValue := aValue. |