Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Go language frontend #1249

Merged
merged 1 commit into from
Jul 31, 2023
Merged

New Go language frontend #1249

merged 1 commit into from
Jul 31, 2023

Conversation

oxisto
Copy link
Member

@oxisto oxisto commented Jul 25, 2023

This PR contains a complete re-write of the Go language frontend based on JNA instead of a pure Go implementation. While this has a slight performance drawback (I am working on providing some numbers), it has infinitly better debugging capabilities. The handlers and most of the frontend itself is written in Kotlin using our classes and we than use a JNA bridge to a C API wrapper around the Go go/ast package.

Depends on #1199

Fixes #1256
Fixes #1257
Fixes #1258
Fixes #1259

@oxisto oxisto changed the title new go frontend New Go language frontend Jul 25, 2023
@oxisto oxisto added blocked Blocked by an external factor go labels Jul 25, 2023
@oxisto oxisto force-pushed the new-go-frontend branch 4 times, most recently from 2f9dd7a to 0ff8e58 Compare July 26, 2023 07:51
@oxisto oxisto force-pushed the type-system-overhaul branch 2 times, most recently from 6fd7e5f to ba0de3f Compare July 26, 2023 17:10
@oxisto oxisto mentioned this pull request Jul 26, 2023
@oxisto oxisto force-pushed the type-system-overhaul branch 2 times, most recently from 0c5239f to 023a53d Compare July 27, 2023 10:10
Base automatically changed from type-system-overhaul to main July 27, 2023 12:56
@oxisto oxisto force-pushed the new-go-frontend branch 2 times, most recently from 77e4a4b to 6687080 Compare July 27, 2023 13:20
@oxisto oxisto removed the blocked Blocked by an external factor label Jul 27, 2023
@oxisto oxisto force-pushed the new-go-frontend branch 5 times, most recently from 79fbf41 to 51ebb46 Compare July 27, 2023 15:32
This PR contains a complete re-write of the Go language frontend based on JNA instead of a pure Go implementation. While this has a slight performance drawback (I am working on providing some numbers), it has infinitly better debugging capabilities. The handlers and most of the frontend itself is written in Kotlin using our classes and we than use a JNA bridge to a C API wrapper around the Go `go/ast` package.

Depends on #1199

Fixes #1256
Fixes #1257
Fixes #1258
Fixes #1259
@sonarcloud
Copy link

sonarcloud bot commented Jul 31, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 13 Code Smells

85.9% 85.9% Coverage
0.0% 0.0% Duplication

@oxisto oxisto merged commit 6285f0b into main Jul 31, 2023
3 checks passed
@oxisto oxisto deleted the new-go-frontend branch July 31, 2023 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant