Skip to content

sprintf in js #34

Open
Open
@VICTORVICKIE

Description

@VICTORVICKIE

Hey,

I have implemented essential formatting (without 3rd party dependency) as a learning challenge. can I make a pr or still in the idea of compiling stb_printf?

It is around 300L of implementation, still pending are

// Flags => # *
// Len Mod => j z t L
// Specify => o x X e E a A g G n p

https://gist.github.com/VICTORVICKIE/faa7a7252607f600fb114781fd4d1ade#file-index-html-L36

comparison of outputs, examples are taken from https://en.cppreference.com/w/c/io/fprintf

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions