Skip to content

Values with separator sequence cannot exist #1

@QuickWrite

Description

@QuickWrite

It should be possible to create an instruction that looks like this:

print out "Hello World"

But unfortunately these two instructions are being separated by some whitespace and at the same time the second parameter has some whitespace.

Now as the parser first separates this line into chunks like this:

print            -- Instruction
  out            -- First chunk
  "Hello         -- Second chunk
  World"         -- Third chunk

this is being considered as an instruction with three different values and not two. So it does not parse.

But this is not the intended behaviour as we want it to be chunked as this:

print            -- Instruction
  out            -- First chunk
  "Hello World"  -- Second chunk

This can only be done if this isn't done in the two steps of first separating everything into chunks and then working with this. It should be changed to a more linear parsing method where just the next chunk (based on the context) is being parsed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions