py-myopl-code icon indicating copy to clipboard operation
py-myopl-code copied to clipboard

Bug Fixed & added some features

Open ad1b003 opened this issue 5 years ago • 1 comments

*** Bug Fixes ***

1. In make_string method:
    Newline (\n) and tab (\t) character was not working as expected.
    Like when typed "I'm fine.\nWhat's about you?", it was printing: I'm fine.nWhat about you?
    Now this problem is fixed. \n and \t is working fine.
2. In make_number method:
    Typing something like .1233 or .004 was a cause for crashing the program.
    Now this is fixed. Type .123 or 0.123 will give you same result.

*** Features added ***

1. For making string now one can start with single qoute or double qoute. Type "Hi" or 'Hi' will make same result.
2. Expoential number can be used now.
   1.23e45 or 1.23E45 will print 1.23e+45
   .00123e-89 will print 1.23e-92
3. multiline comment is enabled.
    Type #[
            This is a
            multiline
            comment
        ]#

ad1b003 avatar Dec 28 '20 18:12 ad1b003

Hey, @ad1b003 can you try out radon this and make contribution here. Because this project is not moving. So, I thought to create a new repository and improve this language more.

Almas-Ali avatar Jun 27 '23 20:06 Almas-Ali