Skip to content

[request] eval tag array syntax #25

Description

@Tcll

This is something I've been working on an idea for for quite a while now, and I think this would do just fine :)

instead of the ugly code I have to use python to manage:

<eval expr="CP_STRUCTS[0][0][0]=4294967295,CP_STRUCTS[0][1][0]=32,CP_STRUCTS[0][2][0]=&quot;UnsupportedStructure&quot;,CP_STRUCTS[1][0][0]=1,CP_STRUCTS[1][1][0]=1, ... " display_error="false" display_result="false" comment=""/>

here's a cleaner (hopefully multiline) syntax that should be easy enough to manage :)

<eval expr="CP_STRUCTS={
    {{4294967295},{32},{&quot;UnsupportedStructure&quot;}},
    {{1},{1}, ... },
    ...
}" display_error="false" display_result="false" comment=""/>

the idea should also work with hash-maps (python-dict inspiration)

<eval expr="HM={
    "hash": value,
    ...
}" display_error="false" display_result="false" comment=""/>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions