Code Monkey home page Code Monkey logo

tree-sitter-sway's Introduction

tree-sitter-sway

Build/test

Sway grammar for tree-sitter

References

  • The Sway Book - The Sway book describes the language in detail with examples.

Contributing

Sway language is under active development with new features added all the time. We want to keep this grammar as up to date as possible and contributions are very much appreciated.

If you find a bug or missing feature, please open an issue or send a pull request including the following.

  • example Sway code demostrating the bug
  • the current output of tree-sitter parse
  • (Optional) the expected output of tree-sitter parse

Pull requests will be tested against files in the corpus directory as well as sway files from the https://github.com/FuelLabs/sway. PRs should include a new test case in the corpus directory for every grammar rule change.

tree-sitter-sway's People

Contributors

sdankel avatar

Stargazers

 avatar  avatar Grzegorz Wierzowiecki avatar Greg (Grzegorz Wierzowiecki) avatar Rave avatar aruni avatar jojo avatar donna avatar garyzhyg avatar  avatar EL MOSTAFA avatar

Watchers

César D. Rodas avatar Joshua Batty avatar  avatar

tree-sitter-sway's Issues

`Undefined symbols for architecture x86_64` when importing

I get this error when I tried it install with:

tree-sitter-sway = { git = "https://github.com/FuelLabs/tree-sitter-sway", rev = "0572083b4d3a3b5c0bb76373392a364c513de7a9" }

error:

  = note: Undefined symbols for architecture x86_64:
            "_tree_sitter_sway_external_scanner_create", referenced from:
                _tree_sitter_sway.language in libtree_sitter_sway-a8a4a21d2168cc28.rlib(parser.o)
            "_tree_sitter_sway_external_scanner_deserialize", referenced from:
                _tree_sitter_sway.language in libtree_sitter_sway-a8a4a21d2168cc28.rlib(parser.o)
            "_tree_sitter_sway_external_scanner_destroy", referenced from:
                _tree_sitter_sway.language in libtree_sitter_sway-a8a4a21d2168cc28.rlib(parser.o)
            "_tree_sitter_sway_external_scanner_scan", referenced from:
                _tree_sitter_sway.language in libtree_sitter_sway-a8a4a21d2168cc28.rlib(parser.o)
            "_tree_sitter_sway_external_scanner_serialize", referenced from:
                _tree_sitter_sway.language in libtree_sitter_sway-a8a4a21d2168cc28.rlib(parser.o)
          ld: symbol(s) not found for architecture x86_64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)

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.