All Projects → abaez → ta-rust

abaez / ta-rust

Licence: MIT license
A mirror for the textadept module ta-rust hosted in bitbucket

Programming Languages

lua
6591 projects

Projects that are alternatives of or similar to ta-rust

stutter
Implement a Lisp, in C, from scratch, no libs
Stars: ✭ 65 (+209.52%)
Mutual labels:  lexer
expreso
☕ A boolean expression parser and evaluator in Elixir.
Stars: ✭ 54 (+157.14%)
Mutual labels:  lexer
yara-parser
Tools for parsing rulesets using the exact grammar as YARA. Written in Go.
Stars: ✭ 69 (+228.57%)
Mutual labels:  lexer
lexertk
C++ Lexer Toolkit Library (LexerTk) https://www.partow.net/programming/lexertk/index.html
Stars: ✭ 26 (+23.81%)
Mutual labels:  lexer
monkey
The Monkey Programming Language & Interpreter written in PHP.
Stars: ✭ 21 (+0%)
Mutual labels:  lexer
sb-dynlex
Configurable lexer for PHP featuring a fluid API.
Stars: ✭ 27 (+28.57%)
Mutual labels:  lexer
vdf
A Lexer and Parser for Valves Data Format (known as vdf) written in Go
Stars: ✭ 30 (+42.86%)
Mutual labels:  lexer
FreeRoamRoguelikeRacerPrototype
A 3D free roam racer in a procedurally generated map
Stars: ✭ 77 (+266.67%)
Mutual labels:  racer
core.horse64.org
THIS IS A MIRROR, CHECK https://codeberg.org/Horse64/core.horse64.org
Stars: ✭ 3 (-85.71%)
Mutual labels:  lexer
lexer
Hackable Lexer with UTF-8 support
Stars: ✭ 19 (-9.52%)
Mutual labels:  lexer
ugo
µGo编程语言(从头开发一个迷你Go语言编译器)
Stars: ✭ 38 (+80.95%)
Mutual labels:  lexer
types-and-programming-languages
C++ Implementations of programming languages and type systems studied in "Types and Programming Languages" by Benjamin C. Pierce..
Stars: ✭ 32 (+52.38%)
Mutual labels:  lexer
SwiLex
A universal lexer library in Swift.
Stars: ✭ 29 (+38.1%)
Mutual labels:  lexer
KAI
KAI is a distributed computing model written in modern C++ and is cross-plaftorm. Using custom language translators and an executor, KAI provides full reflection, persistence and cross-process communications without having to modify existing source code. KAI Comes with an automated, generational tricolor garbage collector, and Console- and Windo…
Stars: ✭ 13 (-38.1%)
Mutual labels:  lexer
Own-Programming-Language-Tutorial
Репозиторий курса "Как создать свой язык программирования"
Stars: ✭ 95 (+352.38%)
Mutual labels:  lexer
lua-syntaxhighlight
A code syntax to HTML highlighter using lexers from Textadept
Stars: ✭ 20 (-4.76%)
Mutual labels:  textadept
snapdragon-lexer
Converts a string into an array of tokens, with useful methods for looking ahead and behind, capturing, matching, et cetera.
Stars: ✭ 19 (-9.52%)
Mutual labels:  lexer
intellij-cue
IntelliJ support for the CUE language.
Stars: ✭ 23 (+9.52%)
Mutual labels:  lexer
lex
Lex is an implementation of lex tool in Ruby.
Stars: ✭ 49 (+133.33%)
Mutual labels:  lexer
compiler lab
Some toy labs for compiler course
Stars: ✭ 49 (+133.33%)
Mutual labels:  lexer

ta-rust

license twitter

A Rust module and lexer for Textadept.

DESCRIPTION

A module/lexer for Rust.

Currently, this module holds all keywords, types, and any other standard lexer definitions described by the Rust reference manual. It also encompasses the vast list of snippets I use when coding, ctags for semi auto-complete on user projects, api references with both self engineered endeavor and racer integration, and simple lint support with rustfmt.

Completed:

  • lexer: All keywords, primitive types, lifetime, library types, syntax extensions, strings, and numbers lexer definitions.
  • module: *.rs, a humble list of snippets, and API reference to all std crates.
  • build: using cargo to make a build of a project.
  • lint: Basic lint support using rustfmt ftw!
  • autocomplete: A custom autocomplete AND racer support!

To Do:

  • unit test: somehow get unit test integrated better.
  • rustdoc: Make some rustdoc integration as well, while we at it.
  • user definitions: Get Racer to also do user definition reference lookup.
  • Make this module the damn bloody best way to code in Rust.

REQUIREMENT

INSTALL

Clone the repository to your ~/.textadept/modules directory:

cd ~/.textadept/modules
hg clone https://bitbucket.org/a_baez/ta-rust \
  rust

You are done! If you want to use the latest in development version of the lexer (follows the rust nightlies), then continue along.

rust nightlies lexer

Copy the rust.lua lexer file into your ~/.textadept/lexers directory:

cp ~/.textadept/modules/rust/rust.lua ~/.textadept/lexers/rust.lua

USERGUIDE

Check the USERGUIDE for more information on how to use this wonderful module.

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].