You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library allows you to load and parse configuration for your phpflo project. It also works standalone if you want to convert your old json configs to fbp spec.
13
-
Supported config formats are json (.json), yaml (.yml) and fbp (.fbp), output is an object of type FbpDefinition. This allows you to output your parsed content in different formats, ranging from array over fbp, json to yaml.
12
+
This library allows you to load and parse configuration for your phpflo project. It also works standalone if you want to convert your old JSON configs to FBP spec.
13
+
Supported config formats are JSON (.json), YAML (.yml) and FBP (.fbp), output is an object of type FbpDefinition. This allows you to output your parsed content in different formats, ranging from array over FBP, JSON to YAML.
ReadFile(ReadFile) OUT -> IN SplitbyLines(SplitStr)
88
+
ReadFile() OUT -> IN SplitbyLines()
89
+
ReadFile() out[1] -> In[3] SplitbyLines()
90
+
```
91
+
* All elements are _case sensitive_
92
+
* The parentheses at the end of a process definition are mandatory (even if empty): ```<process>()```
93
+
* Process names are w+
94
+
* Port names can be [a-zA-Z_]
95
+
* Each line determines a new chain of events, meaning at least two processes with two connecting ports, separated by a " -> " like ```<process>() <port> -> <port> <process>()```
96
+
* Otherwise there is a ```<initializer> -> <port> <process>()```
97
+
98
+
For better understanding, the whole RegEx used for definition examination is:
0 commit comments