Code Monkey home page Code Monkey logo

Comments (8)

sagotch avatar sagotch commented on June 2, 2024

Note: I started date times and multiline strings branches.

I am not sur about how different types of strings should be handled. For now, multi-lines and basic strings are the same variant, the only difference is in the lexer. Which means loosing track of the original string format. I prefer this normalisation because it keeps the string type simple, but what do you think about it?

EDIT: Also implemented modifications on integers and floats

EDIT: Everything merged in toml-3.0 branch.

from to.ml.

sagotch avatar sagotch commented on June 2, 2024

TOML 0.4 has been released

0.4.0 / 2015-02-12

Add Inline Table syntax.
Allow underscores in numbers.
Remove forward slash as an escapable character.
Unicode escapes must be scalar values.
Newline is now defined as LF or CRLF.

from to.ml.

sagotch avatar sagotch commented on June 2, 2024

toml-4.0 branch has implemented some of these features. It is known to miss:

  • Underscores in numbers
  • Better unicode escape sequences support
  • Inline Table

from to.ml.

Emm avatar Emm commented on June 2, 2024

@sagotch: I fixed all the tests! Also, the underscore thing should be working now.

from to.ml.

sagotch avatar sagotch commented on June 2, 2024

Good job.
Should we release a new version with current features instead of waiting for everything to be implemented?
May be an alpha version?

from to.ml.

Emm avatar Emm commented on June 2, 2024

On Thu, Oct 22, 2015 at 1:58 PM, Julien Sagot [email protected]
wrote:

Good job.
Should we release a new version with current features instead of waiting
for everything to be implemented?
May be an alpha version?


Reply to this email directly or view it on GitHub
#26 (comment).

Well, I'm working adding inline tables. I'd rather get that done, and
release a 4.0-compatible version.

from to.ml.

Emm avatar Emm commented on June 2, 2024

@sagotch, we pass the official example with flying colors. Let me know if you have time to review it, then we can make a 4.0-compatible release.

from to.ml.

sagotch avatar sagotch commented on June 2, 2024

Nice, I will try to review it tonight at home.

from to.ml.

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.