combobulate
playground
Our great sponsors
combobulate | playground | |
---|---|---|
16 | 16 | |
814 | 11,674 | |
- | 1.1% | |
9.3 | 0.0 | |
9 days ago | 3 months ago | |
Emacs Lisp | TypeScript | |
GNU General Public License v3.0 only | Apache License 2.0 |
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.
combobulate
-
Emacs 29.1 Released
Eh, I've been looking and haven't found anything for other editors that actually tries to use TreeSitter for anything beyond highlighting. The Emacs structural editing packages are still very WIP but at least they exist.
(And also some have been based on the out of tree implementation that's been around for a while now)
Example: https://github.com/mickeynp/combobulate
-
Indent with tree-sitter is nice
Looking at https://github.com/mickeynp/combobulate/blob/master/combobulate-python.el, it at the very least delegates to python-indent-calculate-levels, so the logic is mixed.
- Paredit-like features in non-lisp modes?
-
Could you guys share your experience with different python dev set-ups (elpy, lsp, etc)? What is more simple/beginer friendly?
I went from an old config rich setups from before lsp's to lsp-mode ones etc... Right now I would say that eglot + pylsp gives you the best experience, you can use pyenv and pyvenv mode to manage your virtual environments. Now that treesitter is also being used you can try out https://github.com/mickeynp/combobulate
-
ts-movement: a package to navigate the tree-sitter syntax tree (supports multiple-cursors)
I think the following packages would fit your wishlist, as it is very similar to mine. As mentioned in the replies, there is (https://github.com/magnars/expand-region.el) and (https://github.com/mickeynp/combobulate). I regularly use (https://github.com/Fuco1/smartparens).
-
noob question about tree-sitter in the presence of lsp-mode
re syntactic text objects: https://github.com/mickeynp/combobulate
-
paredit based on treesitter
I haven't used it, but based on the description, it looks like combobulate would be an example of this:
-
Ask HN: S/W development text editor have feature colorizing every iteration?
from github README.rst "Emacs package that provides a standardized framework for manipulating and navigating your source code using tree sitter's concrete syntax tree " -> https://github.com/mickeynp/combobulate
https://www.spacemacs.org/ with https://github.com/emacs-tree-sitter/elisp-tree-sitter then write a iterator/loop query for language(s) editing per https://tree-sitter.github.io/tree-sitter/syntax-highlightin...
tad less installation heavy (sorta) but also makes use of tree-sitter syntax queries : https://www.lunarvim.org (neovim with treesitter syntax)
blockman usage examples: https://www.youtube.com/channel/UC5539gDeAdWqeXcczWuhnBA
Alternative examples / takes (per user interface):
### embedding a block of source code in a document:
** carrotsearch.gethub.io/apidocs/code-blocks
-
Commercial-Emacs
I don't know what this fork brings to table, but you could try tree-sitter today with your vanilla Emacs using a package[1] that works via dynamic module.
Personally I am more interested in getting structural selection and navigation reliably working for any language. There is also a package named combobulate[2] to help with that.
[1] https://emacs-tree-sitter.github.io/
[2] https://github.com/mickeynp/combobulate
-
tree-sitter highlighting rocks
TIL https://github.com/mickeynp/combobulate Thank you, @snafuchs !
playground
-
Why do tree-based models still outperform deep learning on tabular data? (2022)
Not the parent, but NNs typically work better when you can't linearize your data. For classification, that means a space in which hyperplanes separate classes, and for regression a space in which a linear approximation is good.
For example, take the circle dataset here: https://playground.tensorflow.org
That doesn't look immediately linearly separable, but since it is 2D we have the insight that parameterizing by radius would do the trick. Now try doing that in 1000 dimensions. Sometimes you can, sometimes you can't or do want to bother.
-
Introduction to TensorFlow for Deep Learning
For visualisation and some fun: http://playground.tensorflow.org/
- TensorFlow Playground – Tinker with a NN in the Browser
-
Visualization of Common Algorithms
https://seeing-theory.brown.edu/
https://www.3blue1brown.com/
https://playground.tensorflow.org/
-
Stanford A.I. Courses
There’s an interactive neural network you can train here, which can give some intuition on wider vs larger networks:
https://mlu-explain.github.io/neural-networks/
See also here:
http://playground.tensorflow.org/
-
Let's revolutionize the CPU together!
This site is worth playing around with to get a feel for neural networks, and somewhat about ML in general. There are lots of strategies for statistical learning, and neural nets are only one of them, but they essentially always boil down into figuring out how to build a “classifier”, to try to classify data points into whatever category they best belong in.
-
Curious about Inputs for neural network
I don’t know much experimenting you’ve done, but many repeated small scale experiments might give you a better intuition at least. I highly recommend this online tool for playing with different environmental variables, even if you’re comfortable coding up your own experiments: http://playground.tensorflow.org
-
Intel Announces Aurora genAI, Generative AI Model With 1 Trillion Parameters
Even if you can’t code, play around with this tool: https://playground.tensorflow.org — you can adjust the shape of the NN and watch how well it classifies the data. Model size obviously matters.
-
Where have all the hackers gone?
I don't think so. You can easily play around in the browser, using Javascript, or on https://processing.org/, https://playground.tensorflow.org/, https://scratch.mit.edu/, etc.
If anything the problem is that today's kids have too many options. And sure, some are commercial.
-
[Discussion] Questions about linear regression, polynomial features and multilayer NN.
Well there is no point of using a multilayer linear neural network, because a cascade of linear transformations can be reduced to a single linear transformation. So you can only approximate linear functions. However if you have prior knowledge about the non linearity of your data lets say you know that it is a linear combination of polynomials up to certain degree, you can expand your input space by explicitly making non linear transformation. For instance a 1D linear regression can be modeled by 2 input neurons and 1 output neuron where the activation of the output is the identity. The input neuron x0 will take a constant input namely 1 and the second input neuron x1 will takes your data x. The output neuron will be y=w_0 * 1+w_1 *x which is equal to y=w_0 +w_1 * x. Let us say that your data follows a polynomial form, the idea is to add input neurons and expand your input to for instance X=[1 x x2] in this case you have 3 input neurons where the third is an explict non linear form of the input so y=w_0 + w_1 x +w_2 x2. The general idea is to find a space where the problem becomes linear. In real life example these spaces are non trivial the power of neural network is that they can find by optimization such space without explicitly encoding these non linearities. Try playing around with https://playground.tensorflow.org/ you can get an intuition about your question.
What are some alternatives?
tree-sitter-org - Org grammar for tree-sitter
clip-interrogator - Image to prompt with BLIP and CLIP
evil-textobj-tree-sitter - Tree-sitter powered textobjects for evil mode in Emacs
dspy - DSPy: The framework for programming—not prompting—foundation models
tree-sitter-norg - A TreeSitter parser for the Neorg File Format
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
commercial-emacs - "Evil will always triumph, because good is dumb." -- Spaceballs (1987)
pyllama - LLaMA: Open and Efficient Foundation Language Models
neorg - Modernity meets insane extensibility. The future of organizing your life in Neovim.
lake.nvim - A simplified ocean color scheme with treesitter support
smartparens - Minor mode for Emacs that deals with parens pairs and tries to be smart about it.
developer - the first library to let you embed a developer agent in your own app!