Reddit Programming
206 subscribers
1.22K photos
123K links
I will send you newest post from subreddit /r/programming
Download Telegram
Roast my SaaS! I've created Spendify. A new way of splitting expenses with friends, no apps, no limitations, just one click and you're all set.
https://www.reddit.com/r/programming/comments/1i4m9wx/roast_my_saas_ive_created_spendify_a_new_way_of/

submitted by /u/lrshaid (https://www.reddit.com/user/lrshaid)
[link] (http://spendify.link/create) [comments] (https://www.reddit.com/r/programming/comments/1i4m9wx/roast_my_saas_ive_created_spendify_a_new_way_of/)
Syntax will die: Abstract - A syntax-free programming language for the LLM age
https://www.reddit.com/r/programming/comments/1i5hdaz/syntax_will_die_abstract_a_syntaxfree_programming/

<!-- SC_OFF -->Console.log(""), print(""), print "" - Why should syntax matter in the LLM age? Abstract is a natural language programming language Abstract enables flexible syntax programming that can compile to any target language. Why? Print "Hello World" vs print("Hello World") vs console.log("Hello World") - who cares?Why should developers need to memorize syntax when they just want to print something? When using an external library to accomplish a task, the exact syntax shouldn't matter. Breaking changes in the latest version shouldn't force us to rewrite working code. We should just be able to express what we want to do. Why differentiate between Python 2 syntax, Python 3 syntax, or JavaScript? Currently these differences matter - but they shouldn't. Abstract solves this problem by providing a syntax-free programming language that compiles to any language in a flexible and extensible way. We are already almost programming in free text using tools like Cursor. The Challenge LLMs are statistical models, not deterministic ones. Program compilation can't be statistical - it would create unpredictable bugs and unreliable code. This is a valid concern, but it's merely a technical limitation. Think about it: - Will developers still write in specific syntax a few years from now? - Should the difference between print vs print() continue to exist? - Is there any fundamental reason to care about the specific syntax of a library or language? The answer is no. How Abstract Works Step 1 - Free Writing Developers write in unrestricted language using any syntax they prefer, as long as the semantic meaning is clear. Each statement should have a specific and clear intent. Step 2 - Professionalization The free-form input gets parsed into clear, readable language (similar to a PRD) called the abstract bytecode. This represents the essential logic of what the program should do. This creates a 100% accurate translation without reducing the abstraction level - just making the structure and language more professional. The result remains highly readable and can be converted to any syntax, including natural language. Step 3 - Breakdown Complex operations that can't translate directly into equivalent code get broken down into smaller, manageable parts. This creates layers of abstract bytecode. Critical: When something is unclear, Abstract will not guess or make assumptions. Instead, it will prompt the programmer to clarify their intent. This ensures deterministic, reliable output while maintaining the flexibility of natural language input. This static, editable code allows developers to work at exactly their needed abstraction level. If necessary, they can still write explicit code. The system includes syntax variants for different preferences: - Python syntax - JavaScript syntax - Plain English for non-technical users The compiler throws errors for: - Unclear or ambiguous instructions - Impossible operations - Insufficient context - Logical mistakes - Conflicting requirements Step 4 - Translation The broken-down abstract bytecode gets translated into the target language using an LLM. The compiler fails if: - An operation has multiple valid but different implementations - Required external libraries are ambiguous I'm preparing to open source this project soon. Would love to hear your thoughts! <!-- SC_ON --> submitted by /u/yovboy (https://www.reddit.com/user/yovboy)
[link] (https://images.app.goo.gl/5EFHyW46zRfgQdAr5) [comments] (https://www.reddit.com/r/programming/comments/1i5hdaz/syntax_will_die_abstract_a_syntaxfree_programming/)