Explore a compiler for the "Easy" language, based on the 1978 book 'Etudes for Programmers.' This project offers insights into compiler construction, converting Easy language code into C, and includes implementations of well-known programs like Brainfuck and Conway's Game of Life. Real-world use case examples include: • Compiling 'life.easy' to simulate Conway's Game of Life, demonstrating complex system behavior from simple rules. • Running 'quine', showcasing a program that outputs its own source code, highlighting self-replication in programming. Discover the compiler and contribute: github.com/begoon/easy #Compiler #ProgrammingLanguages #SoftwareDevelopment #OpenSource
Compiler for Easy language: insights and examples
More Relevant Posts
-
🔥 Day 22 | LeetCode Challenge – Jump Game (Problem #55) Today’s problem tackled one of the most fundamental challenges in Dynamic Programming and Greedy Algorithms — determining whether it’s possible to reach the end of an array given that each element represents the maximum jump length from that position. 💡 Problem Overview: You start at the first index of the array. Each number indicates how far you can jump forward. The goal is to check if you can reach the last index from the starting point. 📘 Approach Used: Implemented a Dynamic Programming (DP) solution to mark reachable indices. Initialized the first position as reachable (dp[0] = true). For each reachable index, propagated possible next positions within the jump limit. The final result depends on whether the last index is marked reachable. ⚙️ Algorithm: Dynamic Programming 🧾 Language: Java ⚡ Runtime: 442 ms (Accepted ✅) 💾 Memory Usage: 48.00 MB 🧠 Key Learning: Even a simple jumping sequence can involve reachability logic, showing how dynamic programming can transform step-by-step feasibility problems into structured, deterministic solutions. #Day22 #LeetCode #JumpGame #DynamicProgramming #JavaCoding #ProblemSolving #100DaysOfCode #GreedyAlgorithm #CodingChallenge #DataStructuresAndAlgorithms #ProgrammingJourney #TechLearning
To view or add a comment, sign in
-
-
The language behind SUPERFLY is a minimal implementation of FP, for "Functional Programming," a language released by John Backus in the 1977 paper Can Programming Be Liberated from the von Neumann Style. Read more: https://lnkd.in/d-4Aighy #functionalprogramming
Felix Winkelmann's SUPERFLY Is an FP Compiler for "Tiny Computers" Like the Commodore 64 hackster.io To view or add a comment, sign in
-
🔥 Day 19 of LeetCode Challenge – Problem #213: House Robber II Today’s challenge was a dynamic programming problem that extends the classic House Robber concept into a circular arrangement. 💡 Concept Overview: In this variation, the first and last houses are adjacent — which means robbing both is not allowed. The challenge is to maximize profit without triggering alarms in this circular setup. 🧩 Approach Used: Handled base cases for arrays of size 1 and 2. Split the circular problem into two linear subproblems: 1️⃣ Rob houses from index 0 to n-2 2️⃣ Rob houses from index 1 to n-1 Used a helper function with Dynamic Programming (DP) to calculate the maximum money that can be robbed in each case. The final answer is the maximum of both results. ⚙️ Algorithm Used: Dynamic Programming 🧾 Language: Java ⏱ Runtime: 0 ms (beats 100%) 💾 Memory: 42.84 MB 📈 Key Insight: Transforming a circular dependency problem into two linear DP runs simplifies complexity and ensures optimal results. #LeetCodeJourney #100DaysOfCode #CodeNewbie #DeveloperCommunity #JavaDeveloper #CodingPractice #AlgorithmDesign #CareerGrowth #TechInnovation #KeepLearning
To view or add a comment, sign in
-
-
🌀 Day 101/∞: Partition Array Into Two Arrays to Minimize Sum Difference Continuing my coding reset with Problem-265: Partition Array Into Two Arrays to Minimize Sum Difference 🧠 No IDE. No syntax highlighting. No compiler. Just logic, focus, and a blank document. This marks Day 101 of my ∞-Day No Compiler Challenge — a raw, brain-first approach to coding. Let’s see how far I can go with this! #DaysOfCode #NoCompilerChallenge #LearningInPublic #BrainBeforeCode #CodeWithoutIDE #DP
To view or add a comment, sign in
-
Introducing WeeWoo, a new toy programming language I've been developing. The idea started from two unrelated interests: I was spending time in the "Expedition 33" while also exploring the LLVM compiler framework. I decided to combine these themes by building a new, functional programming language from the ground up, but with the aesthetic of a fantasy-themed expedition. WeeWoo is a simple, custom language compiled using LLVM. For this project, I managed the full pipeline, including designing the syntax, writing the lexer and parser, and generating the LLVM IR. It was a valuable exercise in compiler design and low-level systems. I have just launched a website for the project which includes complete documentation, code samples, and links to the source code and the compiled Windows binary on GitHub. I welcome you to view the project and share any feedback. You can find the website here: https://lnkd.in/gw3Bsxjd And the GitHub repository here: https://lnkd.in/g4aCCbGW
To view or add a comment, sign in
-
-
Achieving Atomicity and Isolation in Concurrent Rust: Channels vs. Mutexes Here's the thing about concurrent programming in Rust: the moment you try to share data between threads, the compiler forces you to pick a side. You can't sit on the fence. Either you embrace the "one owner at a time" philosophy of channels, or you accept the "share but wait your turn" reality of... https://lnkd.in/e5MbGnwC By Amrit Singh
To view or add a comment, sign in
-
Rethinking Code Quality: Emphasizing Compiler Feedback in Rust As Rust continues to gain momentum in systems programming, it's time to rethink our approach to code quality. The Rust compiler is not just a tool; it is a robust source of feedback that can dramatically improve our code's efficiency and safety. By prioritizing compiler feedback, we can catch errors early, avoid potential pitfalls, and write more maintainable code. Let's embrace this shift and harness the power of Rust's compiler to elevate our coding practices! 🚀 #RustLang #CodeQuality #CompilerFeedback #SystemsProgramming
To view or add a comment, sign in
-
-
💯 Day 7/100: Dynamic Programming — LeetCode 474 Today’s challenge was a classic optimization puzzle: selecting the largest subset of binary strings under strict limits on the number of 0s and 1s. It’s essentially a two-dimensional knapsack problem, where each string consumes a portion of your limited resources. The key breakthrough was realizing that you need to traverse the DP table in reverse to preserve state dependencies. Each update reflects the best outcome when including a new string, without overwriting previous possibilities. This problem sharpened my understanding of multi-dimensional constraints and reinforced the importance of state reuse in dynamic programming. It’s a great reminder that even medium-difficulty problems can hide deep algorithmic insights. Onward to Day 8 — the grind continues. #100DaysOfCode #LeetCode #DynamicProgramming #TechJourney #ScarCodes #ProblemSolving #CodeChallenge #SoftwareEngineering
To view or add a comment, sign in
-
-
Tech in history by @capodieci First C++ Reference Manual Published On October 14, 1985, Danish computer scientist Bjarne Stroustrup published "The C++ Programming Language," the first comprehensive reference manual for C++, detailing its syntax, features, and usage. Building on C, it added object-oriented paradigms, virtual functions, and templates for versatile coding. Stroustrup developed C++ at Bell Labs in the late 1970s, inspired by Simula, to address complexities in large-scale software amid rising computing demands. The manual's release intertwined with tech-politics, as proprietary languages vied with open standards, promoting efficiency in resource-constrained environments. Quirky? Stroustrup named it "C with Classes" initially, a nod to incremental innovation, but early compiler flops delayed widespread use until tools matured. This milestone influenced landmark products, from Windows OS to video games like Doom, and fostered conferences like CppCon for community growth. C++'s impact endures in high-performance apps, making nerds grin at its blend of low-level control and abstraction, despite criticisms of complexity. It set precedents for modern languages like Java. What's your favorite C++ project or memory? Reply and geek out! #TechHistory #Innovation #RetroTech #TechMilestones #TechNews
To view or add a comment, sign in
-
-
JetBrains, maker of IDEs like IntelliJ, have published their State of Developer Ecosystem Report for 2025. In it they cover topics of interest to developers such as AGI, programming languages, and more. #software #development #industry #trends #programming https://lnkd.in/eH7NF2Pd
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development