Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

algo-lang

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

algo-lang

Algorithmic language interpreter (in French only for now)

  • 1.0.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by150%
Maintainers
1
Weekly downloads
 
Created
Source

Algorithmic natural language interpreter (language using french keywords)

Usage

Installation

npm install -g algo-lang

Command line

Basic usage:

algo-lang path/to/file.algo

Pretty print your file in console:

algo-lang --pretty-print path/to/file.algo

Language

Quick example

algorithme test
  variables
    entier i, j

  algorithme procedure swap
    parametres globaux
      entier i, j

    variables
      entier tmp

  debut
    tmp ← i
    i ← j
    j ← tmp
  fin algorithme procedure swap

debut
  i ← 2
  j ← 4
  swap(i, j)
  afficher(chaine(i) + chaine(j)) /* prints 42 */
fin algorithme test

Language documentation

Documentation in french

Keywords

FAQs

Package last updated on 28 Jun 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc