Comments (3)
After writing a test for this behavior based on the nested alt examples in WritingWithInk.md, I've mostly come to the realization that nesting in this manner gets complicated and unreadable. With that being the case, and the implementation being pretty tricky with the quick-and-dirty way I've implemented the Util.findEnclosure
method family, this feature might hit the chopping block.
from hank.
See this commit for the test I wrote, and why the syntax is problematic--I'm not even sure what the expected output from Inkle's nesting example is! Can you process nested cycles and sequences in your head? Because I sure can't.
from hank.
This ended up implemented as part of the great Parsing Overhaul. It seems to work!
from hank.
Related Issues (20)
- Port the Intercept HOT 1
- verbose testing option
- parser tests are flagging builds as broken HOT 1
- disambiguate choice conditions with a ? suffix
- -> END and ->->
- looping through divert target variables in hscript
- example for divert target variable of a labeled choice
- Local variables don't exist in embedded haxe
- test the new tokenize () method in Extensions HOT 1
- static extensions in hscript HOT 1
- raw text blocks
- builder macro to make example test output table HOT 1
- analyze memory usage
- Auto reload during story testing HOT 1
- Use parsihax HOT 1
- Allow wildcard * in testing transcripts
- Haxe 4 has built-in text file compilation macro HOT 1
- include parsed HScript expression in code block Hank expression HOT 1
- At parse-time, validate the story's variable, function, section and knot references
- Would be super cool: make a Fate Accelerated GM helper in Hank
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hank.