Skip to content

Conversation

@frantufro
Copy link
Contributor

Added tag ( '#') parsing and runtime ability to query tags.

@brwarner brwarner self-assigned this Feb 21, 2021
{
// TODO: Why is this true again?
_emitter->write_path(Command::READ_COUNT, CommandFlag::NO_FLAGS, val, true);
_emitter->write_path(Command::READ_COUNT, CommandFlag::NO_FLAGS, val, false);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to investigate this before I approve. Just to make sure...

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, this actually needs to be true and the fact it's failing means there's another issue. With your change, the CNT? command actually won't work anymore because it's expecting an index in the container visits table, not the actual byte offset of the container in the instruction data. Can you create a new issue in GitHub with the failing file and the error message?

@JBenda
Copy link
Owner

JBenda commented Feb 21, 2021

The tags defined from Inkle works different, their tags are only enabled for a line per default. Also, you are able to define tags for knots which than can be queried and also global tags are existed, the different cases are missing in this implementation.
Also is clearing the tags on jump the right behavior? Because when we create choices we also jump ? Or?

@JBenda
Copy link
Owner

JBenda commented Feb 25, 2021

Added test cases and a bit documentation ^^, it works the same way as "inklecate"
which should be a good thing :)

@brwarner
Copy link
Collaborator

brwarner commented Mar 2, 2021

Looks like a windows unit test is failing, but passing on linux/mac? Seems like an extra 0 is being inserted into the output for some reason.

@JBenda JBenda mentioned this pull request Mar 2, 2021
@JBenda
Copy link
Owner

JBenda commented Mar 2, 2021

It was a missing NULL terminator when setting a global string from program, no idea why that did not fail earlier.

@JBenda
Copy link
Owner

JBenda commented Mar 2, 2021

The fix is now in #30

@JBenda
Copy link
Owner

JBenda commented May 11, 2021

Closed because fork is deleted, continue in #32

@JBenda JBenda closed this May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants