Skip to content

Implement literal storage #45

Closed
Closed
@sand1k

Description

@sand1k
  • implement rcs_record_iterator_t (see rcs-recordset.h),
    extending test_recordset unit test to check the iterator;
  • create component (lit ?);
  • create record classes based on rcs_record_t for each literal type;
  • create class (lit_storage_t ?) based on rcs_recordset_t,
    implementing alloc / free interfaces for each record type;
  • add literal-type specific interfaces to record classes for receiving actual literal value
    (maybe temporary, just interface for getting length and character buffers?);
  • implement interfaces for literal construction, conversion, comparison, concatenation etc. (with unit tests?);
  • add some type similar to current literal_index_t for identifying literals, with related interfaces.
  • allocator, based on generic dynamic storage
  • move string processing routines to the component

Blocks: #48, #49, #50

Metadata

Metadata

Assignees

Labels

criticalRaises security concernsdevelopmentFeature implementationecma coreRelated to core ECMA functionalitymemory consumptionAffects memory consumptionparserRelated to the JavaScript parser

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions