EAVFW / EAVFW/Compo

Determine a better way of handling function calls with split typed arguments.

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
todo
Dominant language
C#
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Determine a better way of handling function calls with split typed arguments.

https://github.com/EAVFW/Compo/blob/1c744374449d272a6a9a0c87b6c040466f808b9a/src/Compo/Core/FunctionAuxiliary.cs#L91

```text
return executeMethod.Invoke(invokable, invokeParams);
}

// TODO: Determine a better way of handling function calls with split typed arguments.
private static int Order(Type t)
{
return t.Name switch
{
"Int32" => 1,
"Decimal" => 2,
"String" => 3,
_ => 0
};
}
}
imilarity index 100%
ename from Compo/Core/ParseResult.cs
ename to src/Compo/Core/ParseResult.cs
imilarity index 100%
ename from Compo/Functions/Math/AbsFunction.cs
ename to src/Compo/Functions/Math/AbsFunction.cs
imilarity index 100%
ename from Compo/Functions/Math/AddFunction.cs
ename to src/Compo/Functions/Math/AddFunction.cs
ew file mode 100644
ndex 0000000..adf489c
++ b/src/Compo/Functions/Math/DivFunction.cs
```

55592d64d6613dae18025104c4b7b6069dcf56b7

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.