Olkris2666 / Never

1 stars 0 forks source link

Implementing minimum viable tag system #5

Open Olkris2666 opened 1 month ago

Olkris2666 commented 1 month ago

Ok this is absolutely not minimum viable, but I've been cooking. First draft of the "everything has an ID concept"

Root
    Format  Alias
    Types
        entry   Native
        tag     Native
        mrgntry Native
        mrgtag  Native
        file    Native
        encoded "c://home/decryptor.py"
    End
    ID
        0001    tag     Callie          "best girl"
        0002    file    image.png       c://home/image.png
        0003    text    description     "Callie is so cute"     
        0004    entry   "Callie photo"  "Cool photo"
        0005    text    description     "Hello World"
        0006    mrgtag  Mayro           
        0007    mrgtag  Wairo
        0008    tag     Mario
        0009    encoded Encoded_MSG     "AES"/"iphp^zaapozjtqlbrlq"
        0010    tag     Nintendo        Nindo
        0011    tag     Splatoon        Sploon Spoon
        0012    tag     "normal outfit"     
        0013    tag     "alt outfit"
        0014    tag     Accessories
        0015    tag     sunglasses      shades
        0016    tag     hoodie
        0017    tag     necklace
        0018    tag     "Springfest Callie"
    End
    Aliases
        Accessories     0014
        "alt outfit"    0013
        "best girl"     0001
        "Callie photo"  0004
        Callie          0001
        "Cool photo"    0004
        description     0003
        description     0005
        Encoded_MSG     0009
        hoodie          0016
        image.png       0002
        Mario           0008
        Mayro           0006
        Nindo           0010
        Nintendo        0010
        necklace        0017
        "normal outfit" 0012
        shades          0015
        Splatoon        0011
        Sploon          0011
        Spoon           0011
        sunglasses      0015
        Wairo           0007
    End
    Tags
        Callie
            Splatoon
            Callie
                "normal outfit"
            End
            "Springfest Callie"
                "alt outfit"
            End
            Accessories -
        End
        Splatoon
            Nintendo
        End
        Accessories
            Sunglasses
        End
    End
    Entries
        "Callie photo"
            image.png
            "description"/"0003"
            Callie  "Regular callie"
        End
    End
End

Can also be converted back to raw IDs notation to save space if being readable is not required.