- Added the ability to compile executable binaries for php using gcc
- Refactored execution unit system to use a new execution pointer system - Refactored `PhpRunner` to use the new execution pointer system - Refactored `BashRunner` to use the new execution pointer system - Refactored `LuaRunner` to use the new execution pointer system - Refactored `PerlRunner` to use the new execution pointer system - Refactored `PythonRunner` to use the new execution pointer system - Removed dependency `theseer\Autoload` in favor of ncc's own autoloader (screw you Arne Blankerts) - Refactored ZiProto - Removed runners `Python2` & `Python3` in favor of `Python`
This commit is contained in:
parent
ab32a3bba3
commit
de88a4fb9e
123 changed files with 4370 additions and 7266 deletions
14
tests/functions/autoload_builder.php
Normal file
14
tests/functions/autoload_builder.php
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
require 'ncc';
|
||||
|
||||
$files = \ncc\Utilities\Functions::scanDirectory(
|
||||
'/home/netkas/PhpstormProjects/ncc/src/ncc',
|
||||
\ncc\Enums\ComponentFileExtensions::PHP
|
||||
);
|
||||
|
||||
$autoload_generator = new \ncc\Classes\PhpExtension\AutoloadGenerator();
|
||||
$autoload = $autoload_generator->generateAutoloaderArray($files);
|
||||
|
||||
var_dump($files);
|
||||
var_dump($autoload);
|
7
tests/functions/package_reader.php
Normal file
7
tests/functions/package_reader.php
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
require 'ncc';
|
||||
$package_path = '/home/netkas/PhpstormProjects/ncc/tests/projects/lib/build/release/com.example.testlib.ncc';
|
||||
|
||||
$package_manager = new \ncc\Managers\PackageManager();
|
||||
$package_manager->installPackage($package_path);
|
Loading…
Add table
Add a link
Reference in a new issue