Skip to content

Resolve merge conflict - add EgLang library #6421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

EgosFeic
Copy link

Library Information

Description

EgLang is a compact programming language for Arduino that allows device control through simple text-based rules. It supports conditional operators, loops, and simple commands, optimized for limited Arduino memory.

Key Features

  • Simple pin control commands (2,1)
  • Conditional rules (?3,0!4,1)
  • AND conditions (?3,0&5,0!6,1)
  • Loop commands with alternating patterns ([7:8,1;8,0])
  • Memory optimized for Arduino Uno/Nano/Pro Mini
  • Easy-to-use AUTO_START/AUTO_END macros

Target Audience

  • Arduino beginners learning GPIO control
  • Educators teaching embedded programming
  • Makers creating simple automation projects
  • Anyone wanting declarative GPIO programming

Technical Specifications

  • Supported pins: INPUT (3,5,7,9,11,13), OUTPUT (2,4,6,8,10,12)
  • Memory usage: ~200 bytes SRAM, ~4KB Flash
  • Max rules: 20 rules per program
  • Compatible boards: Arduino Uno, Nano, Pro Mini

Quick Start Example

#include <EgLang.h>

AUTO_START
  R("2,1");         // Turn on LED on pin 2
  R("?3,0!4,1");    // If button on pin 3 pressed, turn on pin 4
  R("[5:6,1;6,0]"); // While pin 5 pressed, blink pin 6
AUTO_END

Checklist

  • Library follows Arduino library specification
  • Contains valid library.properties file
  • Has examples in examples/ directory
  • Open source license (MIT)
  • Repository is public
  • Has tagged release (v1.0.0)
  • Code compiles without errors
  • Examples are functional
  • README contains installation and usage instructions

Additional Notes

This library provides an alternative approach to Arduino programming using declarative text rules instead of traditional imperative code. It's designed for educational purposes and simple automation projects.

Fixed merge conflict with TextFinder library addition.

Copy link
Contributor

A problem was found with your submission https://github.com/EgosFeic/EgLang.git

ERROR: Library is missing a library.properties metadata file.

See: https://arduino.github.io/arduino-cli/latest/library-specification/#library-metadata

Copy link
Contributor

Hi @EgosFeic.
Your pull request has been detected as something other than a Library Manager submission.
A maintainer will need to review it before it can be merged.

If you intended to submit a library, please check the instructions and update your pull request if necessary:
https://github.com/arduino/library-registry/blob/main/README.md#instructions

@github-actions github-actions bot added the topic: modification Change existing list entry label Jun 11, 2025
Copy link
Contributor

Thanks for your interest in contributing to the Arduino Library Manager index @EgosFeic
Please resolve the error(s) mentioned in the previous comment.

After resolving the issue, trigger this check again by doing one of the following:

  • Commit the required change to the branch you submitted this pull request from.
  • Comment here, mentioning @ArduinoBot in the comment.

NOTE: It is not necessary to open a new pull request. ❗

More information:
https://github.com/arduino/library-registry/blob/main/README.md#if-the-problem-is-with-the-pull-request

@github-actions github-actions bot requested a review from per1234 June 11, 2025 17:34
Fixed conflict with Text Finder library addition
@github-actions github-actions bot added topic: submission Add library to the list and removed topic: modification Change existing list entry labels Jun 12, 2025
Copy link
Contributor

A problem was found with your submission https://github.com/EgosFeic/EgLang.git

ERROR: Library is missing a library.properties metadata file.

See: https://arduino.github.io/arduino-cli/latest/library-specification/#library-metadata

@github-actions github-actions bot removed the request for review from per1234 June 12, 2025 01:28
Copy link
Contributor

github-actions bot commented Jun 12, 2025

Thanks for your interest in contributing to the Arduino Library Manager index @EgosFeic
Please resolve the error(s) mentioned in the previous comment.

After resolving the issue, trigger this check again by doing one of the following:

  • Commit the required change to the branch you submitted this pull request from.
  • Comment here, mentioning @ArduinoBot in the comment.

NOTE: It is not necessary to open a new pull request. ❗

More information:
https://github.com/arduino/library-registry/blob/main/README.md#if-the-problem-is-with-the-pull-request

Copy link
Contributor

Hello! I'm checking your submission again.

@per1234 per1234 self-assigned this Jun 13, 2025
Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @EgosFeic. I see you have fixed the error reported by the bot. However, Library Manager works exclusively from Git tags, so the bot won't be able to see the fix you made until you create a new release or tag in the library repository.

If you look at the repository contents at the latest tag, you can see that the problem still exists at the tagged point in the library's revision history:

https://github.com/EgosFeic/EgLang/tree/v1.0.0

(note that a library.properties file is not present in the root of the library repository at that tagged point)

❗ Remember to update the version field in the library's library.properties file as needed before making a release/tag.

Once you have done that, simply mention @ArduinoBot in a comment here to trigger it to run the automated checks again. After those are passing, your library will be automatically added to Library Manager.

If you have any questions or concerns, please let me know.

Regards, Per

@per1234 per1234 added the status: waiting for information More information must be provided before work can proceed label Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for information More information must be provided before work can proceed topic: submission Add library to the list
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants