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

JavaIntegration: Java-only String methods #149

Open
9 tasks
kindlich opened this issue Jun 2, 2024 · 0 comments
Open
9 tasks

JavaIntegration: Java-only String methods #149

kindlich opened this issue Jun 2, 2024 · 0 comments
Labels
CraftTweaker All Issues that are needed by CraftTweaker JavaIntegration All issues that relate to integrating ZenCode with existing Java Code
Milestone

Comments

@kindlich
Copy link
Member

kindlich commented Jun 2, 2024

In ZenCodeLang/StdLibs#3 we defined methods for Strings that should be part of of StdLib.

Here we define methods that should be added only for the Java-Part.
Whether they be have to be added manually by whoever consumes ZenCode or will be added for any JavaProject will be decided while implementing this issue.

Methods in question:

  • codePointAt, codePointBefore, codePointCount, codePoints
  • contentEquals
  • format
  • intern (other languages may still have it though.. but no guarantee)
  • lines
  • matches (no regexes in stdlib yet)
  • offsetByCodePoints
  • regionMatches
  • replaceAll (no regexes in stdlib yet)
@kindlich kindlich added CraftTweaker All Issues that are needed by CraftTweaker JavaIntegration All issues that relate to integrating ZenCode with existing Java Code labels Jun 2, 2024
@kindlich kindlich added this to the v1.0.0 milestone Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CraftTweaker All Issues that are needed by CraftTweaker JavaIntegration All issues that relate to integrating ZenCode with existing Java Code
Projects
None yet
Development

No branches or pull requests

1 participant