feat: Add ArithmeticExpressions csproj
This commit is contained in:
1 parent
e4f276be2a
commit
ca95ab7a24
26 files changed
+2465
-1
No files matched your search
@@ -0,0 +1,16 @@
|
||||
namespace Bts.ArithmeticExpressions;
|
||||
|
||||
using Bts.ExpressionCore;
|
||||
|
||||
public static class ArithmeticProgramParser {
|
||||
public static IArithmeticProgram Parse(Stream expression) =>
|
||||
new Parser().Parse(expression);
|
||||
|
||||
public static IArithmeticProgram Parse(string expression) =>
|
||||
new Parser().Parse(expression);
|
||||
|
||||
class Parser : IParser<ArithmeticProgram> {
|
||||
public ArithmeticProgram Parse(Stream expression) =>
|
||||
new ArithmeticExpressionParserImpl().Parse(expression).Program;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user