Expression analysis

xiaoxiao2021-03-06  59

Today, Coding is more cool.

EBNF grammar is very guiding for writing code.

Yesterday, I wrote the reflection call of the general function, so it is now not limited to expand.

Triangle functions today, some simple statistical functions, basic functions, several financial functions. Refer to Excel's function algorithm, but not specifically, in the future, please MM from the 2nd floor to torture. Also solved the expression detection, this still spends a relatively large energy, the effect is not bad, can locate the illegal position, is more cool, it is easy to do the abnormality throwing out of the function to detect the value of each parameter value in meaning correct.

Basically, the expectation function can be written in the configuration file (more flexible), can only make a simple string statement, to achieve a compiler, huh, he can't stand it, if it is every day You can try it without something.

转载请注明原文地址:https://www.9cbs.com/read-108249.html

New Post(0)