Add "at" operator.
This commit is contained in:
@@ -90,6 +90,7 @@ namespace Cryville.Common.Pdt {
|
||||
}
|
||||
public partial class PdtInterpreter<T> {
|
||||
readonly static Dictionary<char, int> OP_PRIORITY = new Dictionary<char, int> {
|
||||
{ '@', 7 },
|
||||
{ '*', 6 }, { '/', 6 }, { '%', 6 },
|
||||
{ '+', 5 }, { '-', 5 },
|
||||
{ '=', 4 }, { '<', 4 }, { '>', 4 },
|
||||
@@ -100,6 +101,7 @@ namespace Cryville.Common.Pdt {
|
||||
{ '$', -1 },
|
||||
};
|
||||
readonly static Dictionary<char, int> OP_TYPE = new Dictionary<char, int> {
|
||||
{ '@', 0 },
|
||||
{ '*', 0 }, { '/', 0 }, { '%', 0 },
|
||||
{ '+', 0 }, { '-', 0 },
|
||||
{ '=', 0 }, { '<', 0 }, { '>', 0 },
|
||||
|
Reference in New Issue
Block a user