Latest 1.0.0
Homepage https://github.com/NoodleOfDeath/GrammarKit
License MIT
Platforms ios 9.0
Dependencies SwiftyXMLParser, SwiftyUTType
Authors

CI Status
Version
License
Platform

The goal of GrammarKit is to provide a lightweight and extensible framework and engine for grammatically processing (or the act of tokenizing and subsequently parsing) a stream of characters using a user defined grammar definition that can attribute meaning to occurrences and/or sequences of characters that match any number of custom rules belonging to that grammar. Using this framework should allow developers to not only define any number of custom languages without the need for a complete project rebuild (just the addition of a simple XML file and/or ParserParser grammar package with the .grammar extension) but also use this engine to apply syntax highlighting, identifier and scope recognition, and code recommendation/autocompletion in their applications.

Support to import and convert ANTLR4 .g4 grammar files to GrammarKit grammar bundle format is a long term goal of this project, as well.

General Workflow

The workflow of GrammarKit is meant to be easily integrated into development projects as an extensible microservice and not a massive blackboxed framework.

— TODO —

Authors and Major Contributors

— TODO —

Useful Documents

Latest podspec

{
    "name": "GrammarKit",
    "version": "1.0.0",
    "summary": "Simple, extensible, and scalable grammar parsing engine.",
    "description": "The goal of GrammarKit is to provide a lightweight and extensible framework for tokenizing and parsing stream of characters using a user defined grammar definition that can attribute meaning to occurrences and/or sequences of characters that match any number of custom rules belonging to that grammar. Using this framework should allow developers to not only define any number of custom languages without the need for a complete project rebuild (just the addition of a simple XML file or ParserParser grammar package using the .ppgrammar package extension), utilize syntax highlighting, identifier and scope recognition, code recommendation, and much more.nnSupport to import and convert ANTLR4 grammar files to GrammarKit grammar file format is a long term goal of this project, as well.",
    "homepage": "https://github.com/NoodleOfDeath/GrammarKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "NoodleOfDeath": "[email protected]"
    },
    "source": {
        "git": "https://github.com/NoodleOfDeath/GrammarKit.git",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "9.0"
    },
    "swift_version": "4.0",
    "pod_target_xcconfig": {
        "SWIFT_VERSION": "4.0"
    },
    "source_files": "runtime/swift/GrammarKit/Classes/**/*{h,m,swift}",
    "dependencies": {
        "SwiftyXMLParser": [
            "4.0"
        ],
        "SwiftyUTType": []
    }
}

Pin It on Pinterest

Share This