8000 Update compiler-differences.md by smwhr · Pull Request #1111 · y-lohse/inkjs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update compiler-differences.md #1111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions docs/compiler-differences.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,6 @@ const story = new inkjs.Compiler(inkFile, {fileHandler, errorHandler}).Compile()
//story.Continue()
```

## Float and ints

As the JSON format and javascript in general do not differentiate between float and integers, the inkjs runtime is known to behave differently from the C# runtime when dealing with floating point operations.

The Ink language parser nevertheless enforces this typing and, when played directly from the output of the compiler (as opposed to exporting to JSON and then loading it), the Story object will actually behave like in the C# Runtime.

This may lead to slight differences during play.
This [issue is known](https://github.com/y-lohse/inkjs/issues/934) and will be addressed in subsequent release.

## Named classes/types

Expand Down
0