mossengine / fivecode-parsers-strings
A Parser for the FiveCode library that provides string based logical instructions.
1.0.1
2021-07-05 14:09 UTC
Requires
- php: >=7.0
- ext-json: *
- mossengine/fivecode: ^2.2.4
- mossengine/helper: ^2.0
- mossengine/helpersarray: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ~2
- phpunit/phpunit: ~4.0 || ~5.0
This package is auto-updated.
Last update: 2024-11-05 21:31:58 UTC
README
A Parser for the FiveCode library that provides string based logical instructions.
Installation
$ composer require mossengine/fivecode-parsers-strings ^1.0.0
{ "require": { "mossengine/fivecode-parsers-strings": "^1.0.0" } }
Usage
// Require the autoloader, normal composer stuff require 'vendor/autoload.php'; Mossengine\FiveCode\FiveCode::make([ 'parsers' => [ 'include' => [ Mossengine\FiveCode\Parsers\Strings::class ] ], ]) ->evaluate([ ['join' => [ ',', 'hello', 'world' ]] ]) ->return();
Documentation
Read the docs for more details on FiveCode language structure