Git Product home page Git Product logo

fountain-expts's People

Contributors

hornc avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

hermetique

fountain-expts's Issues

I started writing things on pre 0.4 Fountain, all examples need upadating

I managed to start looking at this just (hours?) before a version update, and now my examples don't work :)

Updating 389450e..29fb426

is the 'it worked' -> 'doesn't work now' transition.

I'll figure out what needs to change.

Looks like I am relying on catch-all pre-conditions, which used to work, now doesn't in 0.4.

Round<a, rounds, drop> ::=
    (
         <. drop = 3 .> Drop<a>
       | <. drop = 7 .>  Catch<a> <. drop -= 7 .>
       | Catch<a>                  
    ) #10
;

Error msg: fountain.exe: No pre-condition present on these Alt choices: (Catch<a>)

Now that I check official examples, I'm not seeing a catch all pattern. I may have just made that up as a technique because it seemed to work.

production terminals that output empty strings will not be reversible....

In my current experiments, I'm using a lot of rules to change values with "" (empty string / ε) as the output...

This is not reversible, and probably breaks Fountain's ability to make sense parsing the generated output...

I haven't tried running these examples' outputs through the parsing direction, but it's just occurred to me that I might be relying heavily on a "feature" that's likely to disappear

Terminals probably shouldn't be blank... looking at the EBNF at https://github.com/catseye/Fountain/blob/29fb426732c4f83abb54f39f1a247d9f9e348ce5/doc/Definition-of-Fountain.md

It looks like that's what is specified : <<">> <<any except ">>+ <<">> (one or more character) but 0.4 is letting me get away with <<">> <<any except ">>* <<">> i.e. zero or more.

Probably can get around this but outputting something, but it'll be very noisy with the current constructs I have.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.