METHOD AND APPARATUS FOR FUNCTION COMPILATION, MEDIUM, AND ELECTRONIC DEVICE

    公开(公告)号:US20250036380A1

    公开(公告)日:2025-01-30

    申请号:US18759566

    申请日:2024-06-28

    Inventor: Kailin Xu

    Abstract: The disclosure relates to a method and apparatus for function compilation, a medium, and an electronic device, and relates to the technical field of computers. According to the method, according to a bracket identifier in an objective function to be compiled, a function body in the objective function and an argument called by the function body are determined; the objective function is compiled into an abstract syntax tree according to the function body and the argument; a computation result corresponding to the objective function is obtained based on the abstract syntax tree; a formula text character string sequence input by a user can be accurately compiled into an abstract syntax tree having semantics; and further the computation result of the objective function is computed based on the abstract syntax tree having the semantics.

    Method and apparatus, electronic device and storage media for content presentation

    公开(公告)号:US12118291B2

    公开(公告)日:2024-10-15

    申请号:US18542309

    申请日:2023-12-15

    Inventor: Kailin Xu

    CPC classification number: G06F40/106 G06F40/18

    Abstract: Embodiments of the disclosure provide a method, an apparatus and an electronic device for content presentation. When a selection operation for a cell in a target table is detected, the content of the rich text in the selected cell can be obtained, and the style of the unit rich text can be obtained. Then, the target rich text can be generated based on the obtained content and style of the obtained rich text, where the style of the target rich text may be the same as that of the rich text, and the target rich text may be presented in a formula editing region of the target table. In this way, the content styles of the selected cells of content styles in the formula editing region in the target table can be kept consistent, so that the whole target table can be more regular.

Patent Agency Ranking