ballerina-platform / nballerina

Ballerina compiler that generates native executables.
https://ballerina.io/
Apache License 2.0
138 stars 46 forks source link

Improve BIR #919

Open jclark opened 2 years ago

jclark commented 2 years ago

This is a tracking issue for improvements to nBallerina's BIR, particularly with a view to reuse in jBallerina.

rdhananjaya commented 2 years ago

Jballerina employs a set of internal langlib functions, we should formalize them or find alternatives. https://github.com/ballerina-platform/ballerina-lang/tree/master/langlib/lang.__internal/src/main/ballerina

manuranga commented 2 years ago

Instruction set used in jballerina : https://github.com/ballerina-platform/ballerina-lang/blob/5ba7b3d3e9fb1929d0f11b78ea0614ffa44e9626/docs/bir-spec/src/main/resources/kaitai/bir.ksy#L1131

jclark commented 2 years ago

@rdhananjaya We also need to know how these internal functions are used. Some are obvious to me; some not. We will probably need a separate issue for this.