Add system module with System class, core native exception helper and remove useless builtins
Build / AerScript (push) Successful in 50s

This commit is contained in:
2026-11-24 09:34:27 +01:00
parent cb894f66fd
commit 1db842fe0f
20 changed files with 1050 additions and 1145 deletions
+3 -2
View File
@@ -1,3 +1,4 @@
import 'system';
import 'console';
class Program {
@@ -16,8 +17,8 @@ class Program {
Console::Print("127.0.0.1 ==> $localhost\n");
string $router = $this->encode_ip('192.168.2.1');
Console::Print("192.168.2.1 ==> $router\n");
Console::Print("$localhost ==> " + ($this->decode_ip($localhost) + PHP_EOL));
Console::Print("$router ==> " + ($this->decode_ip($router) + PHP_EOL));
Console::Print("$localhost ==> " + ($this->decode_ip($localhost) + System::NEW_LINE));
Console::Print("$router ==> " + ($this->decode_ip($router) + System::NEW_LINE));
}
}