稍后,我学会了跳过中间解析过程并直接从转换器生成SAX事件。
Later, I learned to skip the intermediate parsing and generate SAX events directly from my converter.
这样肯定会出现偶然的输入错误或其他错误,所以,为了不让用户必须输入纯粹的SQL,现在我要重点介绍如何从Delphi应用程序生成SQL。
This is a sure way to result in accidental typing mistakes or other errors, so instead of forcing the user to type in pure SQL, I now want to focus on generating SQL from the Delphi application.
但我发现,在没有语法分析器的情况下,从我的应用程序生成那些事件还是合算的。
But I have found that it pays to generate those events from my application, without a parser.
Well, I need to write the reaction that forms that compound from it's elements, right?
我需要写出从元素单质生成,这种化合物的反应,对吧?
Right? In other words I've got the stoichiometric coefficients in there and the values, and I'm subtracting the reactants from products -1652kJ/mol wind up with minus 1652 kilojoules per mole.
对吧?换句话说这里我用了化学,计量系数和生成热的值,从生成物中减去反应物,最后得到。
应用推荐