plugin-ruby
civlua
plugin-ruby | civlua | |
---|---|---|
7 | 14 | |
1,446 | 19 | |
0.8% | - | |
8.2 | 9.5 | |
12 days ago | 4 days ago | |
JavaScript | Lua | |
MIT License | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
plugin-ruby
- Unveiling the big leap in Ruby 3.3's IRB
- Rails vs Rubocop?
-
Linting and Auto-formatting Ruby Code With RuboCop
Prettier started out as an opinionated code formatter for JavaScript, but it now supports many other languages, including Ruby. Installing its Ruby plugin is straight forward: add the prettier gem to your Gemfile and then run bundle.
-
Halp: Prettier not working on lua files
You'd need a prettier plugin for Lua, similar to the ones that exist for php (https://github.com/prettier/plugin-php) and ruby (https://github.com/prettier/plugin-ruby). I'm pretty sure that there isn't one for Lua, but you can try googling it.
-
Formatter
Did you try prettier maybe?
-
Standard Ruby 1.0
To me "stardard" ruby style is style used in the std-lib.
Whilst I can see the benefit of having an AST format code for you, e.g. if can you use it to fix language version changes like positional arguments and keyword arguments in Ruby 3,.0 I worry about how good/bad RuboCop is at formatting.
Last time I tried it, it was indenting in a different way to the std-lib.
At the time I found that prettier-ruby[1] did a much better job. Hopefully that's improved since.
1. https://github.com/prettier/plugin-ruby
-
My Rubocop Configuration for a Successful Rails Project
Rubocop has a very nice auto-correct feature to automatically fix many of the warnings it gives, but we've noticed in the past that with line length issues specifically the auto-corrected files can be misformatted. For that reason, we use the Ruby plugin for Prettier to correct line length.
civlua
- LAP: Lua Async Protocol
-
IBM 360 in UK need a home
http://civboot.org is basically trying to answer exactly this question
- Drowning in code: The ever-growing problem of ever-growing codebases
-
Why the fuck are we templating YAML? (2019)
I'm designing a simple dev environment from scratch.
My solution for this is a sandboxed lua for programatic configuration:
https://github.com/civboot/civlua/tree/main/lib/luck
I can't stand JSON (for many reasons) so I created a serialization format that combines it and CSV for nested objects
https://github.com/civboot/civlua/tree/main/lib/tso
I wish the industry would standardize on a solution like this. IMO you shouldn't use a "real" language unless you can lock it down to be determinisitic. JSON is supposed to be human readable but fails for lots of real-world data like multi-line strings or lists of records.
CSV is more readable but doesn't supported nested objects.
-
Show HN: Cassette, a Personal Programming Language
Have you tried for any length of time?
For example, there's lots of little places where aligning keywords helps clarify code
https://github.com/civboot/civlua/blob/main/ds/ds.lua#L89
Formatters HATE putting multiple statements on a single line, but when they go it makes it so much easier to parse (for a person)
-
LuaX: A Lua Dialect with JSX
I've built a lua-based markdown which is more sane (from a programmer's PoV) than markdown but still concise
https://github.com/civboot/civlua/tree/main/cxt
I'm planning on supporting syntax highlighting. I could imagine creating a cxx that does what LuaX is doing, except it would support rendering to the command line as well as html.
Want to team up?
-
Unveiling the big leap in Ruby 3.3's IRB
Reading "big features" like "multi line input" makes me feel more than ever that we really need an ultra light weight embeddedable text editor.
I wrote one, and while it's not yet complete I can say it's really _not that hard_
https://github.com/civboot/civlua/blob/main/ele/README.md
-
22-Year-Old Builds Chips in His Parents' Garage (2022)
Sam was one of my main inspirations in starting http://civboot.org. Awesome to see he's managed to make his own chip now!
- I'm building a self-bootstrapped embeddedable programming environment in Lua
- Civlua: Self contained software to build a minimalist development environment
What are some alternatives?
vim-prettier - A Vim plugin for Prettier
berry - A ultra-lightweight embedded scripting language optimized for microcontrollers.
coc-solargraph - Solargraph extension for coc.nvim
ucode - JavaScript-like language with optional templating
prettier-plugin-solidity - A Prettier plugin for automatically formatting your Solidity code.
dhall-lang - Maintainable configuration files
prettier-plugin-prisma - Prettier plugin for Prisma
dmd - dmd D Programming Language compiler
prettier - Prettier is an opinionated code formatter.
zeptoforth - A not-so-small Forth for Cortex-M
prettier-eslint - Code :arrow_right: prettier :arrow_right: eslint --fix :arrow_right: Formatted Code :sparkles:
go - The Go programming language