Unification of the format of our scripts
Issue #22
closed
Need to revise the our format
Currently uses:
- Definition the dynamic variables - Issue
#13 - Additional variables
Planned:
- Subcommands
- Conditions ...
Comments (4)
-
reporter -
reporter - changed component to SBE-Scripts
-
reporter - changed status to closed
Added new core - SBE-Scripts + Components for this
Currently components (implementing IComponent<T>):
- Internal - All internal operation with vsSBE
- UserVariable - For work with User-Variables
- Comment - Any supported comments with scripts
- Condition - Conditions in scripts
- Function - Mixed supported functions
- OWP - For work with OWP
- DTE - For work with DTE
- File - Support file operations - I/O, call, etc.
- Build - Components of building
all the new features should be easy to adding! Welcome for other developers :)
Simple Component:
public class DemoComponent: IComponent { /// <summary> /// Type of implementation /// </summary> public ComponentType Type { get { return ComponentType.Demo; } } /// <summary> /// Handling with current type /// </summary> /// <param name="data">mixed data</param> /// <returns>prepared and evaluated data</returns> public string parse(string data) { //TODO } }
or with custom result
public class UserVariableComponent: IComponent<DemoComponentResult> { public ComponentType Type { get { return ComponentType.Demo; } } public DemoComponentResult parse(string data) { //TODO } }
-
reporter - changed milestone to ⌛ v0.9
- Log in to comment
Variant 1
Internal Variables & Functions
Where:
[A-z0-9_]+
) with general operation[A-z0-9_.()]+
<type1>.<type2>.<type3>
<type1>(arg).<type2>.<type3>(arg1, arg2)
:
,=
]Samples:
Comments
Conditions