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

[ONGOING]: Built-in Functions #9

Open
4 tasks
ammar-ahmed22 opened this issue Nov 24, 2024 · 0 comments
Open
4 tasks

[ONGOING]: Built-in Functions #9

ammar-ahmed22 opened this issue Nov 24, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ammar-ahmed22
Copy link
Owner

I will document here any ideas for built-in functions I have. Ticking them off as they are added.

Functions

  • split(arg: string, delim: string): Splits a string into an array of strings based on the delimiter
  • read_file(path: string): Reads a file into a string
  • write_file(path: string, file: string, append: bool): Writes a string to a file (if append is true, appends to the file instead of overwriting)
  • vargs(): Extracts command line variables sent passed with the execution of the file
@ammar-ahmed22 ammar-ahmed22 added the enhancement New feature or request label Nov 24, 2024
@ammar-ahmed22 ammar-ahmed22 self-assigned this Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant