Hey there 🤗, Welcome to my GSoC Journey
This is a series of blogs that I am writing to share my amazing GSoC 22 (Google Summer of Code 2022) Journey with you all.
Supporting Several Features and Final Fixes
Hi all, this was the final week of GSoC
.
It was full of fun and learning.Â
In this week, I worked on several features, which range from
automating the upload of wasm builds at CI
to implementing support for the runtime
library.
We added the following features to the wasm
backend during this week:
- Support for
runtime
library at https://dev.lfortran.org/ - Support for defining functions in any order
- Support for basic string variables
- Support for importing functions from
JS
usingbind(C)
and interface approach - Uploading the built
lfortran.js
,lfortran.wasm
andlfortran.data
to https://github.com/lfortran/wasm_builds - Several minor (yet important) features/fixes
This phase was mostly/approximately from 13-08-2022
to 23-08-2022
.
The MRs during this phase are as follows:
At lfortran
:
- WASM: Support bind C for array passing to JavaScript #153
- CI: Building LFortran to WASM #157
- WASM: Support WAT for bind(c) functions #588
- CI: Fix CI and upload to wasm_builds #619
- CI: Fix upload to wasm_builds #622
- WAT: verify preamble #631
- CI: Fix: Overwrite the latest_commit file #632
- WAT: wasm_to_wat error handling #634
- WASM: Support defining functions in any order #635
- WASM: Enable supporting integration_tests #636
- WASM, WAT: Improve code formatting #637
- WASM: Support basic string variables #640
- WASM: Add support for cpu_time #641
- WASM: Remove function with no body warning #642
- WASM: Support runtime library #643
- WASM: Fix import functions bug #657
At lcompilers_frontend
:
- Download files from wasm builds #30
- CI: trigger on post request #35
- [Support cpu_time #36](Support cpu_time #36)
- Support runtime library #37
- Increment lfortran latest_commit #39
That’s all for this blog. Thank you for your time.