From 33c96903176a74b7b90f7a491c4e95bb31108411 Mon Sep 17 00:00:00 2001 From: Markus Westerlind Date: Thu, 25 May 2017 00:31:00 +0200 Subject: [PATCH 1/3] Fix link to try_gluon server --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e86bba7814..afcebc03d6 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,9 @@ Gluon is a small, statically-typed, functional programming language designed for ## Usage -### Try online (WIP) +### Try online -You can try gluon in your browser at the [try_gluon](http://ec2-52-29-1-213.eu-central-1.compute.amazonaws.com/) server. ([Github](https://github.com/gluon-lang/try_gluon)) +You can try gluon in your browser at the [try_gluon](http://52.28.135.57:8080/) server. ([Github](https://github.com/gluon-lang/try_gluon)) ### Installation From 66453dbd389611aa5bfb88995a6205fff8892041 Mon Sep 17 00:00:00 2001 From: Markus Westerlind Date: Thu, 25 May 2017 09:28:29 +0200 Subject: [PATCH 2/3] Fix the html_root_url paths I seem to have misread what the paths should be :( so its on to 0.4.2 --- base/src/lib.rs | 2 +- c-api/src/lib.rs | 2 +- check/src/lib.rs | 2 +- parser/src/lib.rs | 2 +- repl/src/main.rs | 2 +- src/lib.rs | 2 +- vm/src/lib.rs | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/base/src/lib.rs b/base/src/lib.rs index 2cb9f4b014..7fe0b6abbc 100644 --- a/base/src/lib.rs +++ b/base/src/lib.rs @@ -1,6 +1,6 @@ //! The base crate contains pervasive types used in the compiler such as type representations, the //! AST and some basic containers. -#![doc(html_root_url="https://docs.rs/gluon_base/0.4.1/gluon_base")] // # GLUON +#![doc(html_root_url="https://docs.rs/gluon_base/0.4.1")] // # GLUON extern crate log; #[macro_use] diff --git a/c-api/src/lib.rs b/c-api/src/lib.rs index dce949a6b5..cf9b78b85b 100644 --- a/c-api/src/lib.rs +++ b/c-api/src/lib.rs @@ -1,5 +1,5 @@ //! A (WIP) C API allowing use of gluon in other langauges than Rust. -#![doc(html_root_url="https://docs.rs/gluon_c-api/0.4.1/gluon_c-api")] // # GLUON +#![doc(html_root_url="https://docs.rs/gluon_c-api/0.4.1")] // # GLUON extern crate libc; extern crate gluon; diff --git a/check/src/lib.rs b/check/src/lib.rs index 3b137698d7..661a402d88 100644 --- a/check/src/lib.rs +++ b/check/src/lib.rs @@ -3,7 +3,7 @@ //! If an AST passes the checks in `Typecheck::typecheck_expr` (which runs all of theses checks //! the expression is expected to compile succesfully (if it does not it should be considered an //! internal compiler error. -#![doc(html_root_url="https://docs.rs/gluon_check/0.4.1/gluon_check")] // # GLUON +#![doc(html_root_url="https://docs.rs/gluon_check/0.4.1")] // # GLUON #[macro_use] extern crate log; diff --git a/parser/src/lib.rs b/parser/src/lib.rs index 40773344d9..81a62a3d8c 100644 --- a/parser/src/lib.rs +++ b/parser/src/lib.rs @@ -1,7 +1,7 @@ //! The parser is a bit more complex than it needs to be as it needs to be fully specialized to //! avoid a recompilation every time a later part of the compiler is changed. Due to this the //! string interner and therefore also garbage collector needs to compiled before the parser. -#![doc(html_root_url="https://docs.rs/gluon_parser/0.4.1/gluon_parser")] // # GLUON +#![doc(html_root_url="https://docs.rs/gluon_parser/0.4.1")] // # GLUON #[macro_use] extern crate log; diff --git a/repl/src/main.rs b/repl/src/main.rs index bcaf4455a9..7370f5a3db 100644 --- a/repl/src/main.rs +++ b/repl/src/main.rs @@ -1,5 +1,5 @@ //! REPL for the gluon programming language -#![doc(html_root_url="https://docs.rs/gluon_repl/0.4.1/gluon_repl")] // # GLUON +#![doc(html_root_url="https://docs.rs/gluon_repl/0.4.1")] // # GLUON #[macro_use] extern crate log; diff --git a/src/lib.rs b/src/lib.rs index 838b49368e..0bd5800f04 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,7 @@ //! behaviour. For information about how to use this library the best resource currently is the //! [tutorial](https://github.com/gluon-lang/gluon/blob/master/TUTORIAL.md) which contains examples on //! how to write gluon programs as well as how to run them using this library. -#![doc(html_root_url="https://docs.rs/gluon/0.4.1/gluon")] // # GLUON +#![doc(html_root_url="https://docs.rs/gluon/0.4.1")] // # GLUON #[macro_use] extern crate log; #[macro_use] diff --git a/vm/src/lib.rs b/vm/src/lib.rs index af23dbd405..b0af465434 100644 --- a/vm/src/lib.rs +++ b/vm/src/lib.rs @@ -1,5 +1,5 @@ //! Crate which contain the virtual machine which executes gluon programs -#![doc(html_root_url="https://docs.rs/gluon_vm/0.4.1/gluon_vm")] // # GLUON +#![doc(html_root_url="https://docs.rs/gluon_vm/0.4.1")] // # GLUON #[macro_use] extern crate log; From f128eae6f760a58dd97611b8dd412a23ac5dad49 Mon Sep 17 00:00:00 2001 From: Markus Westerlind Date: Thu, 25 May 2017 09:29:01 +0200 Subject: [PATCH 3/3] chore: Version 0.4.2 --- Cargo.toml | 10 +++++----- README.md | 2 +- base/Cargo.toml | 2 +- base/src/lib.rs | 2 +- c-api/Cargo.toml | 4 ++-- c-api/src/lib.rs | 2 +- check/Cargo.toml | 6 +++--- check/src/lib.rs | 2 +- parser/Cargo.toml | 4 ++-- parser/src/lib.rs | 2 +- repl/Cargo.toml | 6 +++--- src/lib.rs | 2 +- vm/Cargo.toml | 8 ++++---- vm/src/lib.rs | 2 +- 14 files changed, 27 insertions(+), 27 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0a2a300b47..38108e780e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "gluon" -version = "0.4.1" # GLUON +version = "0.4.2" # GLUON authors = ["Markus "] build = "build.rs" @@ -22,10 +22,10 @@ name = "gluon" path = "src/lib.rs" [dependencies] -gluon_base = { path = "base", version = "0.4.1" } # GLUON -gluon_check = { path = "check", version = "0.4.1" } # GLUON -gluon_parser = { path = "parser", version = "0.4.1" } # GLUON -gluon_vm = { path = "vm", version = "0.4.1" } # GLUON +gluon_base = { path = "base", version = "0.4.2" } # GLUON +gluon_check = { path = "check", version = "0.4.2" } # GLUON +gluon_parser = { path = "parser", version = "0.4.2" } # GLUON +gluon_vm = { path = "vm", version = "0.4.2" } # GLUON log = "0.3.6" quick-error = "1.0.0" diff --git a/README.md b/README.md index afcebc03d6..7ea78c35bc 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Gluon requires a recent Rust compiler to build (1.9.0 or later) and is available ```toml [dependencies] -gluon = "0.4.1" +gluon = "0.4.2" ``` #### Other languages diff --git a/base/Cargo.toml b/base/Cargo.toml index d89de90f3f..28f69486bb 100644 --- a/base/Cargo.toml +++ b/base/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_base" -version = "0.4.1" # GLUON +version = "0.4.2" # GLUON authors = ["Markus "] license = "MIT" diff --git a/base/src/lib.rs b/base/src/lib.rs index 7fe0b6abbc..7db1ade295 100644 --- a/base/src/lib.rs +++ b/base/src/lib.rs @@ -1,6 +1,6 @@ //! The base crate contains pervasive types used in the compiler such as type representations, the //! AST and some basic containers. -#![doc(html_root_url="https://docs.rs/gluon_base/0.4.1")] // # GLUON +#![doc(html_root_url="https://docs.rs/gluon_base/0.4.2")] // # GLUON extern crate log; #[macro_use] diff --git a/c-api/Cargo.toml b/c-api/Cargo.toml index 3c0a32e66e..28e7708c0f 100644 --- a/c-api/Cargo.toml +++ b/c-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_c-api" -version = "0.4.1" # GLUON +version = "0.4.2" # GLUON authors = ["Markus Westerlind "] license = "MIT" @@ -15,7 +15,7 @@ crate-type = ["staticlib"] [dependencies] libc = "0.2.14" -gluon = { version = "0.4.1", path = ".." } # GLUON +gluon = { version = "0.4.2", path = ".." } # GLUON [features] test = ["gluon/test"] diff --git a/c-api/src/lib.rs b/c-api/src/lib.rs index cf9b78b85b..1d45d51e41 100644 --- a/c-api/src/lib.rs +++ b/c-api/src/lib.rs @@ -1,5 +1,5 @@ //! A (WIP) C API allowing use of gluon in other langauges than Rust. -#![doc(html_root_url="https://docs.rs/gluon_c-api/0.4.1")] // # GLUON +#![doc(html_root_url="https://docs.rs/gluon_c-api/0.4.2")] // # GLUON extern crate libc; extern crate gluon; diff --git a/check/Cargo.toml b/check/Cargo.toml index 4d7d87d4f3..b9fb09a38e 100644 --- a/check/Cargo.toml +++ b/check/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_check" -version = "0.4.1" # GLUON +version = "0.4.2" # GLUON authors = ["Markus "] license = "MIT" @@ -15,8 +15,8 @@ env_logger = { version = "0.3.4", optional = true } log = "0.3.6" union-find = "0.3.1" smallvec = "0.2.1" -gluon_base = { path = "../base", version = "0.4.1" } # GLUON -gluon_parser = { path = "../parser", version = "0.4.1", optional = true } # GLUON +gluon_base = { path = "../base", version = "0.4.2" } # GLUON +gluon_parser = { path = "../parser", version = "0.4.2", optional = true } # GLUON [dev-dependencies] collect-mac = "0.1.0" diff --git a/check/src/lib.rs b/check/src/lib.rs index 661a402d88..eb00b3a696 100644 --- a/check/src/lib.rs +++ b/check/src/lib.rs @@ -3,7 +3,7 @@ //! If an AST passes the checks in `Typecheck::typecheck_expr` (which runs all of theses checks //! the expression is expected to compile succesfully (if it does not it should be considered an //! internal compiler error. -#![doc(html_root_url="https://docs.rs/gluon_check/0.4.1")] // # GLUON +#![doc(html_root_url="https://docs.rs/gluon_check/0.4.2")] // # GLUON #[macro_use] extern crate log; diff --git a/parser/Cargo.toml b/parser/Cargo.toml index f475f86180..7d3f6e4b8d 100644 --- a/parser/Cargo.toml +++ b/parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_parser" -version = "0.4.1" # GLUON +version = "0.4.2" # GLUON authors = ["Markus "] license = "MIT" @@ -17,7 +17,7 @@ env_logger = { version = "0.3.4", optional = true } quick-error = "1.0.0" lalrpop-util = "0.12.5" log = "0.3.6" -gluon_base = { path = "../base", version = "0.4.1" } # GLUON +gluon_base = { path = "../base", version = "0.4.2" } # GLUON [dev-dependencies] collect-mac = "0.1.0" diff --git a/parser/src/lib.rs b/parser/src/lib.rs index 81a62a3d8c..0a978859c7 100644 --- a/parser/src/lib.rs +++ b/parser/src/lib.rs @@ -1,7 +1,7 @@ //! The parser is a bit more complex than it needs to be as it needs to be fully specialized to //! avoid a recompilation every time a later part of the compiler is changed. Due to this the //! string interner and therefore also garbage collector needs to compiled before the parser. -#![doc(html_root_url="https://docs.rs/gluon_parser/0.4.1")] // # GLUON +#![doc(html_root_url="https://docs.rs/gluon_parser/0.4.2")] // # GLUON #[macro_use] extern crate log; diff --git a/repl/Cargo.toml b/repl/Cargo.toml index a7c302e0ef..156bc38ee7 100644 --- a/repl/Cargo.toml +++ b/repl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_repl" -version = "0.4.1" # GLUON +version = "0.4.2" # GLUON authors = ["Markus Westerlind "] license = "MIT" @@ -14,8 +14,8 @@ name = "gluon" [dependencies] -gluon_vm = { version = "0.4.1", path = "../vm" } # GLUON -gluon = { version = "0.4.1", path = ".." } # GLUON +gluon_vm = { version = "0.4.2", path = "../vm" } # GLUON +gluon = { version = "0.4.2", path = ".." } # GLUON futures = "0.1.11" clap = "2.22.0" diff --git a/src/lib.rs b/src/lib.rs index 0bd5800f04..44d1e56e72 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,7 @@ //! behaviour. For information about how to use this library the best resource currently is the //! [tutorial](https://github.com/gluon-lang/gluon/blob/master/TUTORIAL.md) which contains examples on //! how to write gluon programs as well as how to run them using this library. -#![doc(html_root_url="https://docs.rs/gluon/0.4.1")] // # GLUON +#![doc(html_root_url="https://docs.rs/gluon/0.4.2")] // # GLUON #[macro_use] extern crate log; #[macro_use] diff --git a/vm/Cargo.toml b/vm/Cargo.toml index 21a034e318..98797796db 100644 --- a/vm/Cargo.toml +++ b/vm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gluon_vm" -version = "0.4.1" # GLUON +version = "0.4.2" # GLUON authors = ["Markus "] license = "MIT" @@ -25,9 +25,9 @@ futures = "0.1.0" typed-arena = "1.2.0" smallvec = "0.2.1" -gluon_base = { path = "../base", version = "0.4.1" } # GLUON -gluon_check = { path = "../check", version = "0.4.1" } # GLUON -gluon_parser = { path = "../parser", version = "0.4.1", optional = true } # GLUON +gluon_base = { path = "../base", version = "0.4.2" } # GLUON +gluon_check = { path = "../check", version = "0.4.2" } # GLUON +gluon_parser = { path = "../parser", version = "0.4.2", optional = true } # GLUON [build-dependencies] lalrpop = { version = "0.12.5", optional = true } diff --git a/vm/src/lib.rs b/vm/src/lib.rs index b0af465434..31b2c86030 100644 --- a/vm/src/lib.rs +++ b/vm/src/lib.rs @@ -1,5 +1,5 @@ //! Crate which contain the virtual machine which executes gluon programs -#![doc(html_root_url="https://docs.rs/gluon_vm/0.4.1")] // # GLUON +#![doc(html_root_url="https://docs.rs/gluon_vm/0.4.2")] // # GLUON #[macro_use] extern crate log;