Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    A stolen Gemini API key turned a $180 bill into $82,000 in two days

    Microsoft blocks the word ‘Microslop’ in Copilot Discord, and the server melts down

    Watch Honor’s first humanoid robot evolve from clumsy prototype to slick dancer

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      What the polls say about how Americans are using AI

      February 27, 2026

      Tensions between the Pentagon and AI giant Anthropic reach a boiling point

      February 21, 2026

      Read the extended transcript: President Donald Trump interviewed by ‘NBC Nightly News’ anchor Tom Llamas

      February 6, 2026

      Stocks and bitcoin sink as investors dump software company shares

      February 4, 2026

      AI, crypto and Trump super PACs stash millions to spend on the midterms

      February 2, 2026
    • Business

      A stolen Gemini API key turned a $180 bill into $82,000 in two days

      March 3, 2026

      These ultra-budget laptops “include” 1.2TB storage, but most of it is OneDrive trial space

      March 1, 2026

      FCC approves the merger of cable giants Cox and Charter

      February 28, 2026

      Finding value with AI and Industry 5.0 transformation

      February 28, 2026

      How Smarsh built an AI front door for regulated industries — and drove 59% self-service adoption

      February 24, 2026
    • Crypto

      Strait of Hormuz Shutdown Shakes Asian Energy Markets

      March 3, 2026

      Wall Street’s Inflation Alarm From Iran — What It Means for Crypto

      March 3, 2026

      Ethereum Price Prediction: What To Expect From ETH In March 2026

      March 3, 2026

      Was Bitcoin Hijacked? How Institutional Interests Shaped Its Narrative Since 2015

      March 3, 2026

      XRP Whales Now Hold 83.7% of All Supply – What’s Next For Price?

      March 3, 2026
    • Technology

      Microsoft blocks the word ‘Microslop’ in Copilot Discord, and the server melts down

      March 3, 2026

      Watch Honor’s first humanoid robot evolve from clumsy prototype to slick dancer

      March 3, 2026

      Apple finally fixed the budget iPhone’s vibe, and the Pixel 10a can’t keep up

      March 3, 2026

      What’s The Average Lifespan Of A Jet Engine?

      March 3, 2026

      As an NBN expert, I can’t believe how affordable Kogan Internet’s NBN 500 plan is — and it’s just scored another price drop

      March 3, 2026
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»I wrote a code editor in C and now I’m a changed man
    Technology

    I wrote a code editor in C and now I’m a changed man

    TechAiVerseBy TechAiVerseDecember 20, 2025No Comments3 Mins Read1 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    I wrote a code editor in C and now I’m a changed man
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    I wrote a code editor in C and now I’m a changed man

    light ' HolyCode 
    
    [.] Praise God
    [.] If Vim/Neovim is Rust, light/HolyC is C.
    [.] Designed to get work done, convenient first, speed second.
    [.] You can look at the holy-code(light.HolyCode.c) distributed with
    this repository, to learn about the axioms of light ' HolyCode.
    [.] There is almost no runtime overhead for the editor
    [.] Praise God
    
    ---
    light works: Orthodox, a compiler under ~10_000 loc written
    in light as the primary code editor at github.com/thisismars-x/Orthodox.
    ---
    
    Things you might need to know light buffers code, and displays it, and reads for input at the console asynchronously. The main controls are intuitive enough for the new user. Up, down, left, right do what you expect them to mostly. The Vim/Neovim user, might be surprised, there are no modes in light ' holyC(or you may say, everything happens in INSERT mode). But light ' HolyCode supports plugins, and shortcuts. --> plugins are anything that change the DISPLAY_BUFFER[][], which is the main buffer maintained to capture input/user code, and are of the form: plugin_example_do_this(char* result, char* buffer, int i); -> although a plugin may decide to ignore any such argument where: result = the string that is to be altered based on buffer which is the current string (DISPLAY_BUFFER[CURRENT_ROW]) i = CURRENT_ROW_NUMBER plugins are called everytime input is read at the console For example, . line numbers are displayed using a plugin, like so: . plugin_line_number(...); . text highlighting is also a normal plugin, like so: . plugin_highlight(...); --> shortcuts are anything that change attributes of the DISPLAY_BUFFER based on user-input, and are of the form: shortcut_some_do_this(char ch); -> shortcuts are always initiated with Ctrl character shortcuts, unlike plugins are called when their Ctrl + tuple is received For example, . Ctrl + l adds a line below your current ROW no matter your position within that ROW unlike the normal Enter key . shortcut_add_line_below(...); . Ctrl + D removes the current line . shortcut_delete_curr_line(..); . Ctrl + X clears the current line . shortcut_clear_curr_line(..); . Ctrl + E goes to End Of Line . shortcut_goto_end_ROW(..); . Ctrl + B goes to beginning of line . shortcut_goto_beginning(..); . Ctrl + W goes to line number 0 . shortcut_goto_line0(..); . Ctrl + A goes to last line . shortcut_goto_last_line(..); Adding shortcuts, and plugins, is simple God loves simple things heartfully. RIP Terry Davis Praise God, Amen
    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleClaude in Chrome
    Next Article AirTags are back on sale for $65 for a four-pack
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    Microsoft blocks the word ‘Microslop’ in Copilot Discord, and the server melts down

    March 3, 2026

    Watch Honor’s first humanoid robot evolve from clumsy prototype to slick dancer

    March 3, 2026

    Apple finally fixed the budget iPhone’s vibe, and the Pixel 10a can’t keep up

    March 3, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025702 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 2025285 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 2025164 Views

    6 Best MagSafe Phone Grips (2025), Tested and Reviewed

    April 6, 2025124 Views
    Don't Miss
    Business Technology March 3, 2026

    A stolen Gemini API key turned a $180 bill into $82,000 in two days

    A stolen Gemini API key turned a $180 bill into $82,000 in two daysOne of…

    Microsoft blocks the word ‘Microslop’ in Copilot Discord, and the server melts down

    Watch Honor’s first humanoid robot evolve from clumsy prototype to slick dancer

    Apple finally fixed the budget iPhone’s vibe, and the Pixel 10a can’t keep up

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    A stolen Gemini API key turned a $180 bill into $82,000 in two days

    March 3, 20261 Views

    Microsoft blocks the word ‘Microslop’ in Copilot Discord, and the server melts down

    March 3, 20261 Views

    Watch Honor’s first humanoid robot evolve from clumsy prototype to slick dancer

    March 3, 20261 Views
    Most Popular

    7 Best Kids Bikes (2025): Mountain, Balance, Pedal, Coaster

    March 13, 20250 Views

    VTOMAN FlashSpeed 1500: Plenty Of Power For All Your Gear

    March 13, 20250 Views

    Best TV Antenna of 2025

    March 13, 20250 Views
    © 2026 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.