-
A CEK machine heavily relies on pattern matching on AST node, continuation stack frames and other data. Unfortunately, pattern matching in Scala is particularly slow. Thus, we need to find alternative…
-
from gpt:
## **1. Overview of the Transpiler Design**
### **Visitor Pattern Approach**
A common and effective way to traverse and translate ASTs is by using the **Visitor Pattern**. In this p…
-
see https://gist.github.com/Araq/169d1e24b2b996d024a780ef6a4e6c09#file-casestmtmacros-nim for context, introduced by @Araq for a 1st version of this concept.
IT reminds me of Recursive Patterns mat…
-
It may have been discussed before (I skimmed through the gitter archive but didn't find anything) but I wonder if an abstract class / trait based approach would be feasible as well.
I've tried to com…
-
With a QuickCheck state machine that has an operation that defines the following next_state function:
```
create_room_next(S, _R, [RoomId, _Description])
when RoomId =:= "" -> S;
create_room_next…
-
From the historic point of view Smalltalk started I guess Smalltalk refactorings had their roots in the Refactoring Browser (RB) and can be traced back to work at UIUC (University of Illinois, Urbana-…
-
In writing linters (in my case, `go/analysis` passes to be run as golangci-lint plugins) I find myself wanting some sort of AST-matching engine. This tool seems like a really great one! But I want t…
-
### Discussed in https://github.com/ast-grep/ast-grep/discussions/904
Originally posted by **zephraph** February 1, 2024
When I run `sg scan` I really have no idea what's happening. I don't k…
-
I just installed Eclipse EE 2022-06 on Windows 10 with Java 17. I had interface `Foo` and class `Bar`, the second of which implements the first. I used `Ctrl+Shift+R` in the source code to rename `Foo…
-
Ideas of Use Cases that were discussed with @netgusto on 2019-09-06:
## symbol ref search with symbol-type-based filtering/faceting
e.g. "just the variables called userConfig"
https://github.co…