CPC G06F 40/151 (2020.01) | 6 Claims |
1. A computer with a webpage edition system installed therein for editing and executing webpages, the webpage edition system comprising:
a transform unit including a plurality of syntax transform modules, wherein each of the syntax transform modules is corresponding to a webpage edition instruction, and a portion of each webpage edition instruction is defined by a natural language-based syntactic structure, wherein each of the syntax transform modules is program code edited in a programming language in advance according to a conversion relationship of each webpage edition instruction being converted into the webpage element; and
an edition unit configured to use at least one of the webpage edition instructions to form a webpage edition instruction set, wherein while the edition unit is executing the webpage edition instruction set, the edition unit takes the corresponding syntax transform module from the transform unit to convert each of the webpage edition instruction set into a webpage element, wherein the transform unit and the edition unit are edited in the programming language to form a transform application program, and the transform unit is edited in the transform application program according to the conversion relationship; the transform application program includes a plurality of transform functions; each of the transform functions is corresponding to one of the plurality of syntax transform modules; while the transform application program executes each of the webpage edition instructions, the transform application program uses at least one of the transform functions to generate the webpage element.
|