Giter Club home page Giter Club logo

enolib's People

Contributors

cpitclaudel avatar dependabot[bot] avatar mredaelli avatar simonrepp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

enolib's Issues

C# Parser

Would really love a C# parser if possible! This would be really great for game development, as right now data is usually stored in JSON or CSV files.

Tests failing

I'm trying to build the package and run the tests, but I get many failures in the analizer folder.

For instance:

________________________________ test_tokenizer ________________________________

    def test_tokenizer():
        analysis = analyze(input)

>       assert analysis == snapshot(analysis, 'tests/analyzer/snapshots/analyzer.snap.yaml')
E       AssertionError: assert 'document: &i...8\nmeta: []\n' == 'document: &id...8\nmeta: []\n'
E         Skipping 118 identical leading characters in diff, use -v to show
E         - thon/tuple [8, 9]
E         ?           -------
E         + thon/tuple
E         +       - 8
E         +       - 9
E         -       key: !!python/tuple [0, 8]...
E
E         ...Full output truncated (275 lines hidden), use '-vv' to show

tests/analyzer/test_analyzer.py:28: AssertionError

Is it me?

Exception on multiline field

# section test
hello: 123
goodbye:
	- 1
	- 2
	-
	- 4
empty:

-- multifield
this is a
multiline
field.
-- multifield

Currently getting the following error on the eno above:

/Users/dict/git/eno-extensions/node_modules/enolib/lib/context.js:245
            element.computedValue = this._input.substring(
                                                ^

TypeError: this._input.substring is not a function
    at Context.value (/Users/dict/git/eno-extensions/node_modules/enolib/lib/context.js:245:49)
    at Field._value (/Users/dict/git/eno-extensions/node_modules/enolib/lib/elements/field.js:13:33)
    at Field.optionalStringValue (/Users/dict/git/eno-extensions/node_modules/enolib/lib/elements/field.js:33:17)
    at tokenizer (/Users/dict/git/eno-extensions/js/deserialize.js:48:24)
    at tokenizer (/Users/dict/git/eno-extensions/js/deserialize.js:41:24)
    at tokenizer (/Users/dict/git/eno-extensions/js/deserialize.js:45:24)
    at tokenizer (/Users/dict/git/eno-extensions/js/deserialize.js:41:24)
    at module.exports (/Users/dict/git/eno-extensions/js/deserialize.js:64:9)
    at Function.Deserialize (/Users/dict/git/eno-extensions/index.js:44:10)
    at Object.<anonymous> (/Users/dict/git/eno-extensions/local/t.js:8:17)

How to use the JS lib in the frontend?

How can I produce a version of the JS lib that can be used client side? I tried Browserify and Rollup, but the outputted file still contains instances of require().

eno file writing

Hey there,

I really like the eno format, and am beginning use of it heavily in a few of my projects. I wanted to know if you plan on supporting eno file writer functionality in your libraries.

It would be extremely helpful not only to read in eno files, but also output them. I would like to make custom configuration files, have them modified by hand elsewhere, and then read them back in and check for changes. If necessary, I can write this functionality myself, it would just be nicer if it was an officially supported feature.

Thanks!

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.