Rebol and AI
Started by Adam on 2026-05-15 10:49:50
Adam — 2026-05-15 10:49:50
Which is an AI tool that knows Rebol and can help programming with it ?
Nick — 2026-05-16 00:34:00
In the past, for Rebol, the best I was able to do was put lots of documentation and code examples in context, using a model with a very large context window (I published a short example case study of that, on this forum ~2ish years ago).
You're never going to get results which compare with (or even begin to hold a candle to) LLMs trained on 100s of billions tokens of curated corpora surrounding other language ecosystems.
Nick — 2026-05-16 00:37:47
It's no longer necessary to any write code, for most of the sorts of work that could be accomplished with Rebol. Take a look at:
https://aibynick.com/thread/29
Adam — 2026-05-16 14:58:21
oh yes Nick thank you so much after reading your article I started looking into AI -> Rebol
It is mind boggling
I started asking Grok about writing scripts in Rebol and it was great. Not perfect since some commands it knows are deprecated but I am so glad this tech now exists
Compared to just a few years ago where you could not get an answer unless someone in a forum would take the time to write something...when I really wanted to ask 10s of questions and for obvious reasons I didn't!!
Sadly Red shut down their Glitter forum a few months ago. Glitter was awful with their nasty slow javascript scrolling slinging page. But very sad that there are not humans you can talk to about your favorite language
Red now has Sensei: https://ask.lang.red/chat/CyzbiiBoA4Z6JA8C
I tried it and it's good. Again, compared to having nothing just a couple of years ago
I still need to write Rebol scripts here and there and I still would like a forum where I can talk to humans and read about other developers and their opinions
It's like having a car, a boat and a plane but I still love to take a walk...!!
Nick — 2026-05-16 22:31:37
I could do another case study, if you have a particular application you'd like to build. Things have changed a *lot* since the last time I tried doing anything with Rebol and an LLM.
W^L+ — 2026-05-18 05:21:19
I believe Gitter became a Matrix server. The #red_red:gitter.im room is still available via Element / Matrix.
Oldes — 2026-05-27 20:51:11
https://app.element.io/#/room/#Rebol:matrix.org
https://rebol.zulipchat.com/
Oldes — 2026-05-27 20:53:19
Regarding AI, Claude Sonnet 4.6 is not bad. I use it for free sometimes.
Nick — 2026-05-29 13:25:20
I had GPT provide a quick Rebol coding primer for LLMs:
https://com-pute.com/nick/rebol_llm_coding_primer_with_migration_lessons.md
That was just a initial one-off attempt created in a few minutes, with several casual prompts in ChatGPT. I'm sure it could be significantly improved by actually building some application code with an LLM, and then feeding that entire conversation to ChatGPT, to update the guide.
I did include a few source conversations in which I worked on a Rebol CGI address book code example (back in GPT-4o), and the conversations in which I converted the Rebolforum code to Python, in the hopes that GPT would recognize common pitfalls and provide useful guidance to avoid those issues.
Just having GPT examine more existing high quality Rebol code, which may be relevant to completing any specific task, would likely improve the guide for that class of task.
Nick — 2026-05-29 13:43:22
I had GPT add a section built by crawling https://www.rebol.com/dictionary.html:
https://com-pute.com/nick/rebol_llm_coding_primer_with_dictionary.md
And here's a version with another section, added by more extensively crawling some of my quick start tutorials:
https://com-pute.com/nick/rebol_llm_coding_primer_with_rebol_tutorial_lessons.md
This one is more than 10x the size of the previous link above, but has integrated most of the material from the re-bol.com tutorial:
https://com-pute.com/nick/rebol_llm_coding_primer_with_full_mhtml_tutorial_examples.md
Hopefully one of those will be useful.
Adam — 2026-05-29 20:29:18
I am use google AI by clicking the little icon next to the search. It is writing lots of Rebol scripts most of the time perfectly. The only problem is that tiny chat window it uses forces me to break the code into many segments and I have to ask gemini to do the same. So copying and pasting 10 windows of code is awful but I don't have to log-in to do it.
Adam — 2026-05-29 21:12:07
and it's unlimited and free....