Skip to content

Commit

Permalink
Merge branch 'v0.2-beta' into 'main'
Browse files Browse the repository at this point in the history
Update Mech to v0.2-beta

See merge request mech-lang/mech!45
  • Loading branch information
cmontella committed Oct 18, 2023
2 parents 386856f + 3617235 commit 91b9db8
Show file tree
Hide file tree
Showing 125 changed files with 33,161 additions and 324 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Setup
run: rustup default nightly-2022-08-25
run: rustup default nightly-2023-05-19
- name: Build
run: cargo build --bin mech --release
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
submodules: recursive
- name: Setup
run: rustup default nightly-2022-08-25
run: rustup default nightly-2023-05-19
- name: Build
run: cargo build --bin mech --release
- name: Run tests
Expand Down
7 changes: 2 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
variables:
GIT_SUBMODULE_STRATEGY: recursive

test:cargo:
script:
- rustup show
- rustup default nightly-2022-08-25
- rustup default nightly-2023-08-25
- wasm-pack build wasm-notebook --target web
- cargo build --bin mech --release
- ./target/release/mech test tests
- cargo test --package mech-syntax --release
36 changes: 0 additions & 36 deletions .gitmodules

This file was deleted.

18 changes: 12 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mech"
version = "0.1.0"
version = "0.2.0"
authors = ["Corey Montella <corey@mech-lang.org>"]
description = "Toolchain for the Mech programming language."
documentation = "http://docs.mech-lang.org"
Expand All @@ -17,14 +17,15 @@ gitlab = { repository = "mech-lang/mech", branch = "main" }
maintenance = { status = "actively-developed" }

[dependencies]
mech-core = {path = "src/core", version = '0.1' }
mech-syntax = {path = "src/syntax", features = ["lang-server"], version = '0.1' }
mech-program = {path = "src/program", version = '0.1' }
mech-utilities = {path = "src/utilities", version = '0.1' }
mech-core = {path = "src/core" }
mech-syntax = {path = "src/syntax", features = ["lang-server"]}
mech-program = {path = "src/program"}
mech-utilities = {path = "src/utilities"}

clap = "2.34.0"
colored = "2.0.0"
nom = "7.1.1"
hashbrown = "0.13.1"
reqwest = {version = "0.11.11", features = ["blocking"]}
bincode = "1.3.3"
serde = "1.0.152"
Expand All @@ -44,7 +45,12 @@ base64 = "0.13.0"
[workspace]

members = [
"wasm-notebook",
"src/core",
"src/syntax",
"src/program",
"src/utilities",
"src/wasm",
"wasm-notebook"
]

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY . .

RUN pwd
RUN rustup override set nightly
RUN rustup default nightly-2022-08-25
RUN rustup default nightly-2023-05-19
RUN cargo build --bin mech --release

ENV PATH="/mech/target/release:${PATH}"
171 changes: 122 additions & 49 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,115 @@ Implementation: started 2018

### Stage 2 - Beta v0.1.0 - ?

Target release date: Fall 2022
Released: December 2022

### Stage 3 - Stable v1.0.0

Target release date: ???

## Version 0.2.0 (Spring 2023?)
## Version 0.3.0 (???)

- [ ] GPGPU Runtime
- [ ] Automatic Differentiation
- [ ] Capability system
- [ ] Persistence
- [ ] Time travel debugging
- ...

## Version 0.2.0 (Fall 2023)

(Some of this will likely move to v0.3.0, it's a lot to do in one summer)

- [ ] Monorepo
- [ ] Types
- [ ] Tuples
- [ ] Type definitions
- [ ] Specifying converstions
- [ ] Typeclasses
- [ ] Unit conversion
- [ ] Specifying units
- [ ] Dec64
- [ ] Currency
- [ ] Scientific notation
- [ ] Dimensional analysis
- [ ] Table redo
- [ ] Simplify indexing
- [ ] Support efficient tensors
- [ ] Autograd syntax
- [ ] History syntax
- [ ] HashTable/HashSet support
- [ ] Database redo
- [ ] ACID
- [ ] Persistence
- [ ] Time travel debugging
- [ ] Capabilities
- [ ] Distributed runtime redo
- [ ] Core syntax
- [ ] CAP
- [ ] QOS
- [ ] Inbox
- [ ] Capabilities
- [ ] State machines
- [ ] Atomic datatypes
- [ ] Delays
- [ ] Pattern Matching
- [ ] Machines revamp
- [ ] Packaging
- [ ] Reuse
- [ ] Composition
- [ ] Explicit importing
- [ ] Remapping
- [ ] Specifying versions
- Editor
- [ ] Start and stop cores
- [ ] Save and load programs
- [ ] Workspace explorer
- [ ] API endpoint server
- [ ] Syntax highlighting
- [ ] Embed programs
- [ ] Display errors
- Machines
- [ ] json
- [ ] sockets
- [ ] serial
- [ ] bluetooth
- [ ] audio
- [ ] maps
- [ ] plot
- Docs
- User Guides
- [ ] Tutorials
- [ ] How-Tos
- [ ] Mech for X
- Website
- [ ] Homepage
- [ ] Blog
- [ ] Docs
- [ ] Try

## Version 0.1.1 (Spring 2023)

- Core
- [x] Automatic differentiation
- [x] Capability system
- [x] New parser
- Language Server
- [x] Syntax Highlighter
- [x] Autocomplete
- [x] Goto Definition
- [x] Goto Docs
- [x] Hover inspector
- [x] Workspace support
- [x] Database watcher
- Editor
- [x] Compile programs
- [x] Database Explorer
- Docs
- Mech platform references
- [x] User Guide
- [x] Ecosystem
- [x] Architecture
- Machines
- [ ] JSON
- [ ] Sockets
- [ ] Serial
- [ ] Bluetooth
- [x] More gui
- [x] ai
- [ ] gpu

## Version 0.1.0 (Fall 2022)
## Version 0.1.0 (December 2022)

- [x] User defined functions
- [x] Errors
Expand All @@ -40,45 +129,29 @@ Target release date: ???
- [x] Native executables
- [x] REPL
- Machines
- [x] Matrix
- [x] GUI
- Editor
- [ ] Database Explorer
- [ ] API endpoint server
- Docs
- Mech platform references
- [ ] Syntax
- [ ] Ecosystem
- [ ] Architecture
- User Guides
- [ ] Tutorials
- [ ] How-Tos
- [ ] Mech for X
- Website
- [ ] Homepage
- [ ] Blog
- [ ] Try
- [x] Matrix
- [x] GUI

## Version 0.0.6 Alpha (unreleased)

- [x] Testing
- Machines
- HTML
- [x] Mouse
- [x] Keyboard
- [x] Canvas Drawing
- [x] File I/O
- [x] Standard Streams
- [x] Strings
- [x] Number Literals
- [x] HTTP
- [x] Math
- [x] Stats
- [x] Random
- [x] Time
- [x] Set
- System
- [x] Input Arguments
- [x] Exit
- [x] Mech Compiler
- [x] Table
- HTML
- [x] Mouse
- [x] Keyboard
- [x] Canvas Drawing
- [x] File I/O
- [x] Standard Streams
- [x] Strings
- [x] Number Literals
- [x] HTTP
- [x] Math
- [x] Stats
- [x] Random
- [x] Time
- [x] Set
- System
- [x] Input Arguments
- [x] Exit
- [x] Mech Compiler
- [x] Table
1 change: 0 additions & 1 deletion assets
Submodule assets deleted from bd630f
1 change: 0 additions & 1 deletion docs
Submodule docs deleted from b05bfe
1 change: 0 additions & 1 deletion examples
Submodule examples deleted from 2132f1
1 change: 0 additions & 1 deletion notebook
Submodule notebook deleted from ad0bc5
1 change: 0 additions & 1 deletion project/main.mec

This file was deleted.

Loading

0 comments on commit 91b9db8

Please sign in to comment.