morph-labs / rift

Rift: an AI-native language server for your personal AI software engineer
https://morph.so
Apache License 2.0
3.08k stars 149 forks source link

IR: expressions can be literals of symbols #229

Closed cristianoc closed 11 months ago

cristianoc commented 11 months ago

This allows to capture the symbol inside an expression when available. If the expression corresponds to a recognised metasymbol, then it will be that symbol. Otherwise it will be the string corresponding to the original code, but where the symbol names will be replaces for the corresponding parts of code.