Skip to content

ToString methods#241

Open
wojpok wants to merge 10 commits intofram-lang:masterfrom
wojpok:format-methods
Open

ToString methods#241
wojpok wants to merge 10 commits intofram-lang:masterfrom
wojpok:format-methods

Conversation

@wojpok
Copy link
Collaborator

@wojpok wojpok commented May 16, 2025

A follow up to #123. This Pull Request introduces format methods, as discussed already. There is a lot of circular dependency between Strings, Ints and Chars, thus entire Format library have been moved to a separate file.

The most controversial part of this PR is Char/String escape handling. I have decided not to rely on OCaml and implemented everything with reference to DBL's Lexer.

@ppolesiuk
Copy link
Member

It seems that after recent changes, some work is needed to update this PR. Method format was renamed to toString, and several useful built-in functions were added or changed.

@wojpok wojpok marked this pull request as draft November 12, 2025 19:06
@wojpok wojpok changed the title Format methods ToString methods Dec 18, 2025
@wojpok
Copy link
Collaborator Author

wojpok commented Dec 18, 2025

PR have been updated. It now supports Int64 and Result types

@wojpok wojpok marked this pull request as ready for review December 18, 2025 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants