Preview of structural find and replace in Unison

  Рет қаралды 667

Unison Language

Unison Language

Күн бұрын

Paul walks through a preview of what a structural find and replace utility might look like for the Unison codebase. Unison codebases aren't text-based, so we can make a rewrite rule and change terms in the codebase programmatically.

Пікірлер: 6
@TankorSmash
@TankorSmash Жыл бұрын
This is neat! I think it's a fun way of taking advantage of Unison's whole thing. Makes me wonder what other cool things could be done.
@TheEagleWithGlasse
@TheEagleWithGlasse Жыл бұрын
That so Cool !! Thanks for keeping the good work years after years !
@TheEagleWithGlasse
@TheEagleWithGlasse Жыл бұрын
I'm sure there are a way to generate the rewrite function from a function isn't it ?
@aredrih6723
@aredrih6723 Жыл бұрын
I only follow the unison on/off so i might be completly off on that one. Is this unison answer to not having stable ABI ? As far as I understand, changing the hash of a function would change the hash of every "syntax tree" using it; so making any change to a library would change the hash of the function part of the ABI. So are there "auto @rewrite generator" that take the old hash and convert it to the new ? Or is the editor runtime smart enough to update matching function ?
@bneymanov
@bneymanov Жыл бұрын
That's a great tool!
@isaacvandoren4733
@isaacvandoren4733 Жыл бұрын
Awesome!
Being Competent With Coding Is More Fun
11:13
TheVimeagen
Рет қаралды 91 М.
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
路飞与唐舞桐
Рет қаралды 27 МЛН
Spongebob ate Patrick 😱 #meme #spongebob #gmod
00:15
Mr. LoLo
Рет қаралды 22 МЛН
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 238 М.
Unison lang: From 0 to Cloud
8:56
Impure Pics
Рет қаралды 1,4 М.
ARRAYLIST VS LINKEDLIST
21:20
Core Dumped
Рет қаралды 65 М.
I-Team: Hidden cameras reveal dark side of solar power
6:21
FOX 5 Atlanta
Рет қаралды 4,6 МЛН
C++ vs Rust: which is faster?
21:15
fasterthanlime
Рет қаралды 397 М.
The Most Important Design Pattern in React
35:04
Cosden Solutions
Рет қаралды 66 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 69 М.
Event processing and streaming analytics with Unison Cloud
14:56
Unison Language
Рет қаралды 176
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 839 М.
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
路飞与唐舞桐
Рет қаралды 27 МЛН