Skip to content

alexandre14k/myFRpy

 
 

Repository files navigation

myFRpy — A Python 3.12–based Interpreter

========================================

myFRpy is a Python 3.12 based interpreter (customized fork) with bilingual en|fr keywords

The original CPython README is preserved for reference in README.old.rst.

General Information


Using myFRpy


This repository contains the full source code for building the interpreter from scratch on Linux.

Build Instructions


Target is Linux Mint 22.2 x86_64

Use the make.sh bash script to manage the build steps:

    ./make.sh

    project <myFRpy>

    t -- rename  | renommer
    d -- tree    | arborescence
    p -- regen   | configurer
    b -- build   | construire
    i -- install | installer
    s -- release | livraison
    r -- run     | exécuter
    c -- clean   | nettoyer
    e -- erase   | effacer
    x -- exit    | quitter

Steps

  1. on a new setup press c to clean the environment and reconfigure
  2. press p to regen grammar (if myFRpy.gram changed)
  3. press b to make (creates the myFRpy binary)
  4. myFRpy is dynamically built in output/ folder
  5. press i allows to local install (see output/bin/myFRpy3.12)
  6. press r to run it

Optional

  1. press s allows to enter the release menu
    ./_release/make.sh

    release

    b : build      -- construire
    r : run        -- executer
    c : clean      -- nettoyer
    e : setup venv -- construire venv
    o : open venv  -- ouvrir venv
    x : exit       -- sortir

Notes

  • venv mode is not yet supported
  • pip mode is not yet supported

Status

  • Interpreter runs normally
  • AppImage launches correctly
  • Core standard library modules load
  • Embedded Tkinter can be used for UI design
  • Some test suite failures remain (operator, pprint, set, statistics, etc.)
  • Compatibility layer is still under development
  • Packaging ecosystem is not yet supported
  • Complementary keywords (spaces forbidden inside keywords) :
    • if | si
    • elif | autrement
    • else | sinon
    • for | pour
    • while | tantque

Usage

Make the AppImage executable:

chmod +x myFRpy3.12-x86_64.AppImage

Run the interpreter:

./myFRpy3.12-x86_64.AppImage

Run with the test.py script:

./myFRpy3.12-x86_64.AppImage test.py

or from inside the interpreter

./myFRpy3.12-x86_64.AppImage
myFRpy 3.12.3 (heads/main-dirty:581db9e, May 30 2026, 13:36:16) [GCC 13.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> exec(open("test.py").read())

Dependencies


Building myFRpy requires standard development tools and libraries :

  • a C compiler (GCC or Clang)
  • development headers for zlib, libffi, OpenSSL, SQLite, and others

Refer to your distribution’s package manager for installation.

Test Release


All released packages will be in AppImage format. The AppImage is fully portable and works on the host system as well as inside Docker containers.

License


myFRpy is distributed under a modified version of the Python Software Foundation License. The original CPython license is preserved in LICENSE.old for reference.

See LICENSE for the license governing this fork.

About

myFRpy is a Python based interpreter with bilingual en|fr keywords

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.old

Stars

Watchers

Forks

Contributors

Languages

  • Python 65.0%
  • C 33.3%
  • C++ 0.6%
  • M4 0.5%
  • HTML 0.4%
  • Shell 0.1%
  • Other 0.1%