coderosh/myriad

Problem With Print Function

Closed this issue · 0 comments

  • Escape sequences not working

    print("Hello\nWorld")

    Should print

    Hello
    World
    

    But prints

    Hello\nWorld
    
  • String printing is wrong

    print("Hello World")

    Should print as

    Hello World
    

    But prints with quotation and green colors

    'Hello World'

    Only should print with color and quotation inside that arrays or objects.

    ["Hello"]
    
    { hi: "Hello" }