Skip to content

Implement format specifiers at log points, etc. #244

@zero-plusplus

Description

@zero-plusplus

RELATED: #237 (comment)

I was looking for a format for converting variable values to hexadecimal, etc., for log points, etc., and format specifiers seems to be good and easy to implement.

The idea of converting the following objects to strings can also be implemented with this.

number := 123
; @Debug-Output => decimal: {number}
; @Debug-Output => hex: {number, X}

obj := { key: "value" }
; @Debug-Output => {obj, yaml}
; @Debug-Output => {obj, json}

Metadata

Metadata

Assignees

No one assigned

    Labels

    draftDraft of new features

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions