Invention Grant
US09361070B1 Compiling regular expression side-effects to java or C# code 有权
将正则表达式副作用编译为java或C#代码

  • Patent Title: Compiling regular expression side-effects to java or C# code
  • Patent Title (中): 将正则表达式副作用编译为java或C#代码
  • Application No.: US13359763
    Application Date: 2012-01-27
  • Publication No.: US09361070B1
    Publication Date: 2016-06-07
  • Inventor: Andrew Nuss
  • Applicant: Andrew Nuss
  • Agent Charles L. Thoeming
  • Main IPC: G06F9/44
  • IPC: G06F9/44 G06F9/45
Compiling regular expression side-effects to java or C# code
Abstract:
An entire regex scripting grammar, including DoPattern side-effects and parameterizable rules with parameters accessible by DoPatterns and CapturePatterns declared within, is compiled to 100% Java™ or C# code (rather than bytecode instructions of a specialized, embedded virtual machine), given a suitable change to the translator and additional helper classes in the library for primitive int and String data-type mappings. The regex scripting grammar realizes the advantages of hotspot compilation for the entire script, including side-effects. Side-effect pseudo-instructions generated by the automata are a stream of integers referenced to various DoPattern objects created by the script at regex composition time, rather than being a stream of instructions modeling the prelist and postlist statements of the DoPatterns written in the grammar.
Information query
Patent Agency Ranking
0/0