All Projects → lightscript → Lightscript

lightscript / Lightscript

JavaScript, with cleaned-up syntax and a few conveniences.

Programming Languages

javascript
184084 projects - #8 most used programming language
language
365 projects

Labels

Projects that are alternatives of or similar to Lightscript

Modiscript
Acche din aa gaye
Stars: ✭ 888 (+529.79%)
Mutual labels:  syntax
Weakable Self
A Swift micro-framework to easily deal with weak references to self inside closures
Stars: ✭ 64 (-54.61%)
Mutual labels:  syntax
Nord Sublime Text
An arctic, north-bluish clean and elegant Sublime Text theme.
Stars: ✭ 109 (-22.7%)
Mutual labels:  syntax
Python
Python cheatsheet
Stars: ✭ 25 (-82.27%)
Mutual labels:  syntax
Nord Highlightjs
An arctic, north-bluish clean and elegant highlight.js theme.
Stars: ✭ 49 (-65.25%)
Mutual labels:  syntax
Syntax Highlighter
Syntax Highlighter extension for Visual Studio Code (VSCode). Based on Tree-sitter.
Stars: ✭ 88 (-37.59%)
Mutual labels:  syntax
Nord Visual Studio Code
An arctic, north-bluish clean and elegant Visual Studio Code theme.
Stars: ✭ 749 (+431.21%)
Mutual labels:  syntax
Sugar Rs
Rust syntax sugar collections.
Stars: ✭ 125 (-11.35%)
Mutual labels:  syntax
Elm Syntax Highlight
Syntax highlighting in Elm
Stars: ✭ 61 (-56.74%)
Mutual labels:  syntax
Postcss Less
PostCSS Syntax for parsing LESS
Stars: ✭ 93 (-34.04%)
Mutual labels:  syntax
Comby
A tool for structural code search and replace that supports ~every language.
Stars: ✭ 912 (+546.81%)
Mutual labels:  syntax
Catage
Node package and CLI tool to convert code into an image with syntax highlighting
Stars: ✭ 44 (-68.79%)
Mutual labels:  syntax
Astq
Abstract Syntax Tree (AST) Query Engine
Stars: ✭ 89 (-36.88%)
Mutual labels:  syntax
Html5.vim
HTML5 omnicomplete and syntax
Stars: ✭ 901 (+539.01%)
Mutual labels:  syntax
Clang Format Hooks
Apply a coding style with clang-format only to new code added to an existing code base.
Stars: ✭ 122 (-13.48%)
Mutual labels:  syntax
Natasha
Solves basic Russian NLP tasks, API for lower level Natasha projects
Stars: ✭ 788 (+458.87%)
Mutual labels:  syntax
Stylelint Validator
Stylelint plugin to validate CSS syntax
Stars: ✭ 64 (-54.61%)
Mutual labels:  syntax
Es.next.syntax.vim
ES.Next syntax for Vim
Stars: ✭ 125 (-11.35%)
Mutual labels:  syntax
Syntax
A VSCode dark theme inspired by Framer’s popular code editor.
Stars: ✭ 123 (-12.77%)
Mutual labels:  syntax
Ui As Code
Design work on improving Dart's syntax for UI code
Stars: ✭ 90 (-36.17%)
Mutual labels:  syntax

LightScript

A close superset of ES7 with JSX and Flow, built with Babel. Designed to make programmers a little more productive.

See lightscript.org for example code and language reference documentation. A quick taste:

Item({ item, isActive }) =>
  className = if isActive: 'active' else: 'inactive'

  <li className={className}>
    {item}
  </li>

Come hang out in the gitter chatroom, where contributors can help you get started and answer any questions.

Language Features

In addition to all all ES7, JSX, and Flow features:

  • (Optional) Significant Indentation
  • Implicit Returns
  • If Expressions
  • Auto const
  • Async/Await shorthand
  • Safe-Await
  • Readable Operators (or, and, ==, etc)
  • Bound Methods
  • Commaless Objects and Arrays
  • Automatic Semicolon Insertion that always works
  • Array Comprehensions
  • Object Comprehensions
  • Array-based for-loops
  • Object-based for-loops
  • a few others

Reference documentation is available at lightscript.org, or in Markdown format here. Tests for all features can be seen here and here.

Project Structure

"LightScript" is split across multiple repos:

For now, the issue tracker on this repo should be used for bug reports and feature requests.

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