r/emacs • • 5h ago

Code reflection

Hello, i'm just an emacs user and currently an humble student, not programmer.

After some school stuff about c,java,swing,bash, something came to mind: i saw what java is doing with code reflection,hat,project babylon, why not have emacs copy the same idea and use it for other stuff but wrote in elisp to build stuff like swing does with java?(i don't know elisp personally), would it help create stuff in elisp and have them running on a gpu in opencl/sycle/cuda/opengl with async or make writing emacs gui easier and emacs the ide for it?. Probably the idea came up because i've never tried writing emacs packages and/ or gui in emacs and i just changed some stuff here and there in my config, what do you think about it?, could the same approach be used to write the parts needed all in elisp and run them in the language you need?.

With the help of ai could be done but i would like to know your opinion on this.

2 Upvotes

1 comment sorted by

6

u/CandyCorvid 4h ago

looking at the first few paragraphs of project babylon, this type of "code reflection" (wherein some piece of code can transform the symbolic form of another) is already core to emacs and many other lisps. we call it '.