Skip to content

Javascript Symbol definitions #34

@andy-preston

Description

@andy-preston

It would be nice if they could do symbols.baudRate = 9600 instead of define("baudRate", 9600)

It would be more idiomatic JS to use this. rather than symbols. - and that might be easier to implement.

The assignment code would need to work out which section of the symbol table the symbol belongs in.


Whilst working on this, it might be nice to enable the user to put functions in the symbol table too... which would effectively allow them to make their own directives... so the could do something like

LDI R18, baudRate(9600)

Metadata

Metadata

Assignees

No one assigned

    Labels

    5Priority 5

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions