Our great sponsors
Elpy | estree | |
---|---|---|
11 | 8 | |
1,879 | 4,952 | |
- | 1.1% | |
6.0 | 5.3 | |
4 months ago | 6 months ago | |
Emacs Lisp | ||
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
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.
Elpy
-
Issues with setting up elpy
If you want to stick with Elpy, I'd suggest side-stepping the RealPython tutorial and diving in to Elpy's documentation directly. But keep in mind that the project has been looking for a new maintainer since March of 2021.
- Eglot has landed on master: Emacs now has a built-in LSP client
-
Fold docstrings on python files?
Elpy allows to do that with its folding module.
-
Performant alternative to pyright?
you can use elpy for that its not lsp but it might be faster than pyright.
-
What is your setup for python coding in emacs?
The last commit in https://github.com/jorgenschaefer/elpy master was 16 days ago, so it seems yes.
-
What IDE do you use to code Python?
And I'm using Elpy on Emacs. It works like a charm, which provides (quote from it README): - Code completion - Code Navigation - Interactive evaluation and interactive Python shell - On-the-fly syntax checking - Access to documentation
-
doom emacs python ctrl-c ctrl-c does not open a new buffer
This is one of the (minor) reasons I abandoned anaconda-mode (default for Doom) for elpy. You can do the same with this snippet in your packages.el lisp (package! anaconda-mode :ignore t) (package! elpy :recipe (:host github :repo "jorgenschaefer/elpy") :pin "2203597") ;; Commit date 2021/3/28 Anaconda is lightweight by comparison. Elpy is also a python package that needs to be installed. Read their docs before using. https://github.com/jorgenschaefer/elpy
-
Elpy is looking for a maintainer
I (current maintainer of Elpy) am not able to properly maintain the project anymore.
- Concatenate webpages
-
What is your workflow to read opensource software in emacs?
For python development, I use https://github.com/jorgenschaefer/elpy (Elpy is an Emacs package to bring powerful Python editing to Emacs. It combines and configures a number of other packages, both written in Emacs Lisp as well as Python.)
estree
-
ESLint Understand By Doing Part 1: Abstract Syntax Trees
ESLint's AST format, ESTree, would represent this line of code as:
-
Eglot has landed on master: Emacs now has a built-in LSP client
That was a super interesting link, thank you.
For the ontological problem, I presume you're referring to how there are so many differing ideas of how to represent ASTs (apologies for mixing languages, these URLs were just handy):
* https://lisperator.net/uglifyjs/ast#nodes
* https://github.com/estree/estree#the-estree-spec
* ... likely others
which makes it hard for ls1 to ask ls2 about "the for-of iteration variable Node" because ls2 could be using UglifyJS or ESTree or their own(!) AST nomenclature?
And all of this is made worse by (e.g.) Java1.3 versus Java19 because languages are rarely static
-
Statements vs. Expressions
I find it better to actually look at the AST for javascript.
These are expressions:
https://github.com/estree/estree/blob/master/es5.md#expressi...
These are statements:
https://github.com/estree/estree/blob/master/es5.md#statemen...
I guess the confusing part for many is how an expression can also be a statement. But if you look at the ExpressionStatement you see that an expression is not also a statement. It's just the wrapper statement!
-
A technical tale of NodeSecure - Chapter 2
When I started the NodeSecure project I had almost no experience 🐤 with AST (Abstract Syntax Tree). My first time was on the SlimIO project to generate codes dynamically with the astring package (and I had also looked at the ESTree specification).
- Show HN: Monocle – bidirectional code generation library
-
Go is the future of Frontend infrastructure
ESTree compatible output, AST explorer on WASM
-
Introducing GraphQL-ESLint!
The parser we wrote transforms the GraphQL AST into ESTree structure, so it allows you to travel the GraphQL AST tree easily.
-
Revealing the magic of AST by writing babel plugins
For espree parser(the one eslint uses) we can refer here Eslint AST Node Types
What are some alternatives?
Suplemon - :lemon: Console (CLI) text editor with multi cursor support. Suplemon replicates Sublime Text like functionality in the terminal. Try it out, give feedback, fork it!
esprima - ECMAScript parsing infrastructure for multipurpose analysis
anakin-language-server - Yet another Jedi Python language server
babel-parser
buffer-env - Buffer-local process environments for Emacs
escodegen - ECMAScript code generator
emacs.d - Fast and robust Emacs setup.
kataw - An 100% spec compliant ES2022 JavaScript toolchain
anaconda-mode - Code navigation, documentation lookup and completion for Python.
Acorn - A small, fast, JavaScript-based JavaScript parser
GNU/Emacs go-mode - Emacs mode for the Go programming language
qwik - Instant-loading web apps, without effort