Giter Club home page Giter Club logo

Comments (2)

DJMcMayhem avatar DJMcMayhem commented on July 27, 2024

It's funny that you mention that, because I have actually been thinking about writing a javascript interpreter for a while now. :) I agree that it would be nice to have a specification, but I don't know if it's worth making a separate repository for it. Is the description in the README not precise enough? I suppose one thing I can think of that the current version does that is left unspecified in the README is how the value of the {} is not reset after each loop. (which is why {{}} can sum the stack). Beyond that, there are some things I don't think we necessarily should specify, and instead leave that up to the interpreter. For example, I think ASCII mode is worth specifying, but I'm not sure if we should inlcude things like

  • File input VS command line args
  • Alternate overflow/underflow modes
  • Debug flags
  • Unicode mode
  • Separate input and output formats (To allow for decimal in ASCII out, or vice versa).

Not that any of these are bad features, I just view them as interpreter perks.

from brain-flak.

1000000000 avatar 1000000000 commented on July 27, 2024

Actually the differentiation between specifications and interpreter perks was the main thing I was interested in seeing in the specification. Namely how overflow/underflow should work and what the minimum maximum height of the stack should be.

As for about being in a separate repository, I felt that commits that tweaked the specification would create clutter when looking through the history of the repository as updates to the example programs have done (one of the things I have been meaning to do for a while is to migrate the example programs out of the README and into this repository's wiki). Speaking of the wiki, I was taking a look back at how it works and I was thinking that it might be the ideal place for such a thing (I had previously overlooked the wiki because I thought that it did not give you the ability to leave a description attached to your change like a commit message, but it turns out I was mistaken).

from brain-flak.

Related Issues (20)

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.