- 专利标题: Data flow retyping for functional programming languages
-
申请号: US17493374申请日: 2021-10-04
-
公开(公告)号: US11625226B1公开(公告)日: 2023-04-11
- 发明人: Teodoro Freund , Mariano Jose de Achaval
- 申请人: salesforce.com, inc.
- 申请人地址: US CA San Francisco
- 专利权人: salesforce.com, inc.
- 当前专利权人: salesforce.com, inc.
- 当前专利权人地址: US CA San Francisco
- 代理机构: Sterne, Kessler, Goldstein & Fox P.L.L.C.
- 主分类号: G06F8/30
- IPC分类号: G06F8/30
摘要:
The type system of a functional programming language, such as DataWeave and/or the like, may be extended to add valuable semantic information to data types (e.g., attributes of data that inform a compiler/interpreter how the data should be used, etc.) that is automatically generated and/or hidden from a developer/programmer. For example, the type system may be configured for flow typing, based on a graph of type dependencies between expressions, without modifying an existing implementation, except at places where extra information can be obtained. Different parts of the type system implementation may be modified, for example, based on one or more injected retyper nodes, to provide more and better type inference.