Thanks for all of the comments! Quick reaction: 1. Nanolang is a total thought experiment. The key word its description is "experimental" - whether it's a Good experiment or a Bad experiment can be argued either way, especially by language purists! 2. Yes, it's a total Decorator Crab of a language. An unholy creation by Dr Frankenstein, yes! Those criticisms are entirely merited. It wasn't designed, it accreted featu…
Nanolang: A tiny experimental language designed to be targeted by coding LLMs
181–190 of 210 posts
Re: Nanolang: A tiny experimental language designed to be targeted by coding LLMs
#182Earlier quoted context omitted.
Post RL you won't need to put the grammar in the prompt anymore.
The grammar of this language is no more than a few hundred tokens (thousands at worst) & current LLMs support context windows in the millions of tokens.
The point is that your statement about the ability to do RL is wrong.
Additionally your response to the Deepseek paper in the other subthread shows profound and deliberate ignorance.
Re: Nanolang: A tiny experimental language designed to be targeted by coding LLMs
#183At this point, I am starting to feel like we don’t need new languages, but new ways to create specifications. I have a hypothesis that an LLM can act as a pseudocode to code translator, where the pseudocode can tolerate a mixture of code-like and natural language specification. The benefit being that it formalizes the human as the specifier (which must be done anyway) and the llm as the code writer. This also might e…
Consider:
"Eat grandma if you're hungry"
"Eat grandma, if you're hungry"
"Eat grandma. if you're hungry"
Same words and entirely different outcome.
Pseudo code to clarify:
[Action | Directive - Eat] [Subject - Grandma] [Conditional of Subject - if hungry]
Re: Nanolang: A tiny experimental language designed to be targeted by coding LLMs
#184At this point, I am starting to feel like we don’t need new languages, but new ways to create specifications. I have a hypothesis that an LLM can act as a pseudocode to code translator, where the pseudocode can tolerate a mixture of code-like and natural language specification. The benefit being that it formalizes the human as the specifier (which must be done anyway) and the llm as the code writer. This also might e…
Language is not the problem but clear intent along with direction of action and defined and not implied subject. Consider: "Eat grandma if you're hungry" "Eat grandma, if you're hungry" "Eat grandma. if you're hungry" Same words and entirely different outcome. Pseudo code to clarify: [Action | Directive - Eat] [Subject - Grandma] [Conditional of Subject - if hungry]
Re: Nanolang: A tiny experimental language designed to be targeted by coding LLMs
#185Just scanning through this, looks interesting and is totally needed, but I think it is missing showing future use-cases and discussions of decoding. So, for instance, it is all well and good to define a simple language focused on testing and the like, but what about live LLM control and interaction via a programming language? Sort of a conversation in code? Data streams in and function calls stream out with syntax de…
I think the real gap in computer languages wrt LLMs is a replacement for python as a "notebook" language that the LLM uses to solve ad hoc problems during a chat. What you want is something that is safe, performant, uses minimal tokens and takes careful note of effects and capabilities. Tests aren't really even important for that use case.
hey I found this project december 23 and you just commented on another thing I posted "amazing one shot that" I will give you an invite if you want (because it also does that) check bio will add contact dets now...
it was posted to this site earlier about 20 days ago and front paged and hilariously about half the comments were shooting it down the top voted comment was even "this is the worst website ever" lol xD and they since invite only to manage abuse (its a very capable service and currently free)
It's capable of what you just mentioned, and it made the other site that one-shot you said was amazing for the one shot (literally cut and paste the comment into the prompt, then 2nd was "Good, now do it better")
Re: Nanolang: A tiny experimental language designed to be targeted by coding LLMs
#186Earlier quoted context omitted.
The grammar of this language is no more than a few hundred tokens (thousands at worst) & current LLMs support context windows in the millions of tokens.
Sure. The point is that your statement about the ability to do RL is wrong. Additionally your response to the Deepseek paper in the other subthread shows profound and deliberate ignorance.
Re: Nanolang: A tiny experimental language designed to be targeted by coding LLMs
#187Earlier quoted context omitted.
It's not just how well the language is represented. Obscure-ish APIs can trip up LLMs. I've been using Antigravity for a Flutter project that uses ATProto. Gemini is very strong at Dart coding, which makes picking up my 17th managed language a breeze. It's also very good at Flutter UI elements. It was noticeably less good at ATProto and its Dart API. The characteristics of failures have been interesting: As I anticip…
I have a vibe coded fantasy console. Getting Doom running on it was easy. Getting the Doom sound working on it involved me setting there typing "No I can't hear anything" over and over until it magically worked... Maybe I should have written a helper program to listen using the microphone or something.
https://github.com/benj-edwards/atari800-ai https://github.com/benj-edwards/bobbin
Re: Nanolang: A tiny experimental language designed to be targeted by coding LLMs
#188Earlier quoted context omitted.
I am working on that https://github.com/gritzko/librdx Conflictless merge and overlay branches (ie freely attachable/detachable by a click). That was the pie-in-the-sky of the CRDT community for maybe 15 years. My current approach is RDX tree CRDT effectively mapping to the AST tree of the program. Like CRDT DOM for the AST, because line based diffs are too clumsy for that. Back in the day, JetBrains tried revision-c…
Just a clarifying question to understand if I understand librdx correctly, it seems you've implemented a language explicitly for being easy to be used as CRDTs for syncing purposes (with specific types/structures for communicating just changes too?), rather than taking an existing language and then layering that stuff on top?
RDX is more like CRDT JSON DOM in fact, not just JSON+. If that makes sense.