Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Practice programming exos in a delightful Learning eXperience

License

NotificationsYou must be signed in to change notification settings

plx-pdg/plx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo of PLX

Practice programming exos in a delightfulLearning eXperience

Useful links

Website -WHY ? -Git repository of PLX website

Introduction

PLX is a project developed to enhance the learning of programming languages, with a focus on a smooth and optimized learning experience. The goal of this project is to reduce the usual friction involved in completing coding exercises (such as manual compilation, running, testing, and result verification) by automating these steps.

PLX offers a terminal user interface (TUI) developed in Rust and supports multiple languages (currently C and C++). It enables automatic compilation as soon as a file is saved, automated checks to compare program outputs, and instant display of errors and output differences. The solution code can also be displayed. The project draws inspiration fromRustlings and aims to create a more efficient learning experience, particularly for programming courses at HEIG-VD.

Docs

We deploy documentations onour website.## Docs

Installation

Prerequisites

Once you have cargo installed, simply run

cargo install plx

Testing using our example folder

Once you have plx installed, you can try it on this repo's example folder

Important

Set the $EDITOR environment variable if you wish for your editor to be opened when starting an exo

Warning

The open editor feature is currently unstable, using a terminal based editor causes problemsThe following editors were tested and work fine:code,clion andcodium

Important

Only C and C++ exercises are valid for now, java and other languages support is comming soon™

git clone git@github.com:plx-pdg/plx.gitcd plx/examples/fullplx

On Linux and MacOS, you can easily changeEDITOR just for PLX, here is an example forVSCode.

EDITOR=code plx

The useful shortcuts are defined under shortcut?,j ork to move up and down, you can mostly typel, until you reach the exo, then the editor should open and then you can do the exo (or just fill the solution next to it see.sol.c file), save and see changes...

Building from source

  • Clone this repo
git clone git@github.com:plx-pdg/plx.git
  • Build usingcargo
cargo build --release

This will install all necessary dependencies and build the program in release mode.

To run it

cargo run

Install from source

cargo install --path.

Running tests

cargotest

Showing Rust code documentation

You can easily see all our code comments in a nice web page.

cargo doc --open

Contributing

Please take a look at some of the issueshere.

  • Fork this project
  • Create a branch
  • Develop your solution
  • Create a Pull Request

License

We are currently waiting for our school's approval before applying an open source license.


[8]ページ先頭

©2009-2025 Movatter.jp