Skip to content

tell Soar to chunk particular variables as constants #545

@garfieldnate

Description

@garfieldnate

Add new production syntax to indicate to the chunker that particular variables should be chunked as constants.

  • need to discuss syntax, but here's my first suggestion: <var-name :const>
  • will apply to the variable if used in any of its occurrences in a production
  • Would also be convenient to have production-level syntax to indicate that all variables should be consts. My suggested syntax would be a flag like :o-support, but with a different string such as :chunk-consts.

The exact syntax, and perhaps some functionality (after I do an initial investigation), need to be further discussed in the group.

The current workarounds are quite terrible. One that James has used: put data in smem, retrieve it back from smem, and chunk the result (since chunking doesn't work through smem).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions