All Projects → matprec → explain-rs

matprec / explain-rs

Licence: Apache-2.0, MIT licenses found Licenses found Apache-2.0 LICENSE-APACHE MIT LICENSE-MIT
A library which finds language features in rust code and provides resources on them.

Programming Languages

rust
11053 projects
HTML
75241 projects

Labels

Projects that are alternatives of or similar to explain-rs

Udify
A single model that parses Universal Dependencies across 75 languages. Given a sentence, jointly predicts part-of-speech tags, morphology tags, lemmas, and dependency trees.
Stars: ✭ 147 (+286.84%)
Mutual labels:  syntax
Ifmt
Inline expression interpolation for Rust.
Stars: ✭ 197 (+418.42%)
Mutual labels:  syntax
berkeley-parser-analyser
A tool for classifying mistakes in the output of parsers
Stars: ✭ 34 (-10.53%)
Mutual labels:  syntax
Es6
ES5 vs ES6 Reference
Stars: ✭ 158 (+315.79%)
Mutual labels:  syntax
Vue Highlight.js
📜 Highlight.js syntax highlighter component for Vue.
Stars: ✭ 180 (+373.68%)
Mutual labels:  syntax
Clarifyjs
Create and Execute Chained Javascript Methods In Any Order You want
Stars: ✭ 227 (+497.37%)
Mutual labels:  syntax
Lightscript
JavaScript, with cleaned-up syntax and a few conveniences.
Stars: ✭ 141 (+271.05%)
Mutual labels:  syntax
laravel-or-abort
A trait to optionally abort a Laravel application
Stars: ✭ 54 (+42.11%)
Mutual labels:  syntax
Phpgrep
Syntax-aware grep for PHP code.
Stars: ✭ 185 (+386.84%)
Mutual labels:  syntax
Haskell Symbol Search Cheatsheet
Haskell/GHC symbol search cheatsheet
Stars: ✭ 243 (+539.47%)
Mutual labels:  syntax
React Ast
render abstract syntax trees with react
Stars: ✭ 160 (+321.05%)
Mutual labels:  syntax
Lexical syntax analysis
编译原理词法分析器&语法分析器LR(1)实现 C++
Stars: ✭ 173 (+355.26%)
Mutual labels:  syntax
Vim Cpp Modern
Extended Vim syntax highlighting for C and C++ (C++11/14/17/20)
Stars: ✭ 229 (+502.63%)
Mutual labels:  syntax
Burrido
Do-notation for JavaScript
Stars: ✭ 150 (+294.74%)
Mutual labels:  syntax
postcss-jsx
PostCSS syntax for parsing CSS in JS literals
Stars: ✭ 73 (+92.11%)
Mutual labels:  syntax
Ecsharp
Home of LoycCore, the LES language of Loyc trees, the Enhanced C# parser, the LeMP macro preprocessor, and the LLLPG parser generator.
Stars: ✭ 141 (+271.05%)
Mutual labels:  syntax
Linqit
Extend python lists with .NET's LINQ syntax for clean and fast coding. Also known as PINQ.
Stars: ✭ 222 (+484.21%)
Mutual labels:  syntax
csscomplete.vim
Update the bult-in CSS complete function to latest CSS standard.
Stars: ✭ 61 (+60.53%)
Mutual labels:  syntax
nova-vue
Vue support for Nova editor.
Stars: ✭ 35 (-7.89%)
Mutual labels:  syntax
Chroma
A general purpose syntax highlighter in pure Go
Stars: ✭ 3,013 (+7828.95%)
Mutual labels:  syntax

explain-rs

A library which finds language features in rust code and provides resources on them.

See it in action!

Give your co-workers a quickstart into your rust code's syntax.

Introducing Rust in existing teams can be difficult. Some members might work primarily in other languages and therefore can't devote much time to learn rust in all its facets. Code in an unfamiliar syntax looks like gibberish at first, whilst the underlying concepts might in fact be similar with a known language.

That's where tooling comes into play: Paste your code / let it run on your source and it'll link to e.g. the rust book page for destructuring patterns for further reading. Ideally, this will make it possible for rust beginners to dive into existing, expressive code bases, while learning rust on the fly.

Intended Workflow

  1. Paste your code
  2. Move your cursor to a thing you don't understand.
  3. Read the context sensitive explanation
  4. Profit

Features

  • Context sensitive explanation
    • Syntax
    • Controlflow
    • Lifetimes (Venn Diagram style?)

Please provide rust source snippets with (exotic) syntax

Please open issues with syntax you'll find hard to grasp. Unless already covered (if in doubt, open issue anyway), these will be integrated into our syntax studies. This will give us a good feeling on where to focus in the beginning.

Goals

Eventually, we want to support the rust syntax completely. Things i'd like to explore at that point would be pattern analysis and type level integration via RLS.

Status

Pre alpha. Don't expect it to work on your code.

License

explain-rs is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].