Skip to content

Add string type #108

@DanGooding

Description

@DanGooding

This should allow a bunch more general purpose programming. Important features are

  • reading input lines
  • parsing of numbers
  • formatting of numbers/bools/tuples/lists
    • int-to-string functions
    • format strings: compile-time syntactic sugar for join(["before", int-to-string(d), "after"])
  • unicode support? - this makes most character-wise operations more complex
  • join/split/substring
  • regex - query, maybe match

implementation concerns:

  • store the length, rather than being null terminated
  • implement a bunch of operations in the runtime

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions