-
Notifications
You must be signed in to change notification settings - Fork 2
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
API conversion to TypeScript #41
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…specification to define its members
…luded generated interfaces
Affects the creation of abstract joinpoints from the Language specification. If a method returns or receives a enum type also defined in the Language Specification then the type is considered to be a String. This is because all enum members are forcibly strings and this allows for proper interface with JS APIs.
…erload that receives a Supplier<String>
joaobispo
approved these changes
Nov 22, 2023
WeaverInterface/src/org/lara/interpreter/weaver/interf/WeaverApiManager.java
Show resolved
Hide resolved
...erGenerator/src/org/lara/interpreter/weaver/generator/generator/java/utils/ConvertUtils.java
Show resolved
Hide resolved
WeaverInterface/src/org/lara/interpreter/weaver/interf/JoinPoint.java
Outdated
Show resolved
Hide resolved
This was referenced Nov 27, 2023
This was referenced Dec 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[WARNING] Merging of this PR is dependant on the prior merge of specs-feup/specs-java-libs#9
Many of the Lara API files have been translated into TypeScript. Enough to support a conversion of Clava APIs.
These changes include:
WeaverGenerator
.MathExtra
API has been moved from Lara to Clava as it is Clava specific.Not addressed in this PR
Breaking Changes
"SECONDS"
-->TimeUnits.SECONDS
).WeaverJps
API alias ofQuery
has been removed.The generation of joinpoint wrapper classes by weavers is required.JoinPointsBase
is now calledJoinPoints
and is now final meaning that weavers do not extend it.CompilationBase
API has been removed.lara._JavaTypes
has been renamed tolara.util.JavaTypes
.System.getExecutable
was tagged as deprecated and has now been removed.System.getenv
was removed since it was calling non-existing functions.Known Issues