From 214d67364342721527add92c38a1888858441ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Tue, 6 Oct 2020 23:17:47 +0200 Subject: [PATCH] remove junk, better explain whats going on with spanned_sexp --- lib/spanned_sexp/.cargo-ok | 1 - lib/spanned_sexp/.editorconfig | 10 ---------- lib/spanned_sexp/.travis.yml | 36 ---------------------------------- lib/spanned_sexp/Cargo.toml | 5 ----- lib/spanned_sexp/README.md | 16 +++++---------- 5 files changed, 5 insertions(+), 63 deletions(-) delete mode 100644 lib/spanned_sexp/.cargo-ok delete mode 100644 lib/spanned_sexp/.editorconfig delete mode 100644 lib/spanned_sexp/.travis.yml diff --git a/lib/spanned_sexp/.cargo-ok b/lib/spanned_sexp/.cargo-ok deleted file mode 100644 index b5754e2..0000000 --- a/lib/spanned_sexp/.cargo-ok +++ /dev/null @@ -1 +0,0 @@ -ok \ No newline at end of file diff --git a/lib/spanned_sexp/.editorconfig b/lib/spanned_sexp/.editorconfig deleted file mode 100644 index fa9becf..0000000 --- a/lib/spanned_sexp/.editorconfig +++ /dev/null @@ -1,10 +0,0 @@ -root = true - -[*] -end_of_line = lf -insert_final_newline = true -charset = utf-8 -indent_style = space -indent_size = 2 -tab_width = 4 -trim_trailing_whitespace = true diff --git a/lib/spanned_sexp/.travis.yml b/lib/spanned_sexp/.travis.yml deleted file mode 100644 index 9a98210..0000000 --- a/lib/spanned_sexp/.travis.yml +++ /dev/null @@ -1,36 +0,0 @@ -language: rust -sudo: false -# necessary for `travis-cargo coveralls --no-sudo` -addons: - apt: - packages: - - libcurl4-openssl-dev - - libelf-dev - - libdw-dev -rust: - - nightly -os: - - linux - -env: - global: - - TRAVIS_CARGO_NIGHTLY_FEATURE="" - - secure: C2P1wLHzBxccS3jrimsG2TaDy4sAhYiKSq1g+cwYHhAKZKkiIpL7Ez5iEHH6BbEvvg4HiUJy4j0w83luZ/FXUuxkD2GZsXWoG+20DFBTLQvCJE/LPahVNbb5i+NdmyIsZPHLloXNvT63hXwu8KNV4U0hrYAgViIXkumoLnOiQD/jim81i7gxUOSe65AzMHcfPRaAwKHn+NGIvUfwMzU2hKZbnH/BPIi2PNtQ6e0VZEvAqA5Ad3hRV0YaBKZ3HZn8tr8UnHKmLbPffb/01EVWAFBU+rFMVYrdzDsiVp7UHMPtVV9aNXUVszB+a/ASWHsAZEdX8XsbmH9RSEBCzsUq2j2HFM2R7yYZnkL3FPcpf/ZKgy4ZVw6gKO42DCvBRGwhI1JMjeKBmrzCGZHE70FxD0zAZRwX9n9M7mUKhakzMvs/LSKMQKlOJslSR+OLEUpr3MCBthpKIiajNYDrJL5P/3KrFOF2R4H/2Z91/3osEIRqzYiEKdeJU01Yef5FCI+H6SLvbhIlVAQTM0IJKGAP0B2N6J4Ot7XrYuGDQag48oPzWzJ2dOGwYjwkda1rgW7pdjtWuullOi2ob1zdI6y/i/CdAS8AE0yRz7VCK4grwonUICzdVaaIAaTTd0yq9PRWAjSjZqNG5EOLADzABIihPnkBw4WygoDq18rSkk0pRbE= - -before_script: - - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH - -script: - - travis-cargo build - - travis-cargo test - - travis-cargo bench - - travis-cargo doc -after_success: - - | - [ $TRAVIS_BRANCH = master ] && - [ $TRAVIS_PULL_REQUEST = false ] && - echo '' > target/doc/index.html && - git clone --depth 1 https://github.com/davisp/ghp-import && - ./ghp-import/ghp-import -n target/doc && - git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages - - travis-cargo coveralls --no-sudo diff --git a/lib/spanned_sexp/Cargo.toml b/lib/spanned_sexp/Cargo.toml index 7ba146a..6c03b9f 100644 --- a/lib/spanned_sexp/Cargo.toml +++ b/lib/spanned_sexp/Cargo.toml @@ -2,17 +2,12 @@ name = "sexp" version = "1.1.4" authors = ["Clark Gaebel "] - documentation = "https://cgaebel.github.io/sexp" homepage = "https://github.com/cgaebel/sexp" repository = "https://github.com/cgaebel/sexp" - readme = "README.md" - keywords = ["sexp", "parsing", "s-expression", "file-format"] - description = "A small, simple, self-contained, s-expression parser and pretty-printer." - license = "MIT" [dependencies] diff --git a/lib/spanned_sexp/README.md b/lib/spanned_sexp/README.md index 6da62fb..e49f312 100644 --- a/lib/spanned_sexp/README.md +++ b/lib/spanned_sexp/README.md @@ -1,15 +1,9 @@ -Sexp +Source-location tracking Sexp ===== -A small, simple, self-contained, s-expression parser and pretty-printer. +**This is a fork of "sexp", updated to the 2018 edition, where each parsed node tracks its +source file position. This enables better error reporting in subsequent parsing and processing.** -[![crates.io](https://img.shields.io/crates/v/sexp.svg)](https://crates.io/crates/sexp/) +--- -[![Build Status](https://travis-ci.org/cgaebel/sexp.svg?branch=master)](https://travis-ci.org/cgaebel/sexp) - -[![Coverage Status](https://coveralls.io/repos/cgaebel/sexp/badge.svg?branch=master&service=github)](https://coveralls.io/github/cgaebel/sexp?branch=master) - -Documentation -------------- - -See the [API Docs](https://cgaebel.github.io/sexp/). +Original version by Clark Gaebel: [https://github.com/cgaebel/sexp](https://github.com/cgaebel/sexp).