Add TextWriter, IOException, per-VM module data and pre-load imports; Add console module with Console class

This commit is contained in:
2026-11-23 18:36:46 +01:00
parent 2243557bf5
commit 4d06edd045
55 changed files with 1679 additions and 675 deletions
+3 -2
View File
@@ -1,12 +1,13 @@
import 'console';
final class Test {
private int $value;
private void __construct() {
print('Constructor called.' + "\n");
Console::Print('Constructor called.' + "\n");
}
private void __destruct() {
print('Destructor called.' + "\n");
Console::Print('Destructor called.' + "\n");
}
/* This is singleton */