Skip to main content

Simple bytecode compiled C-style scripting language

Project description

Fr

Build Tests LoC License AI Code

Simple bytecode compiled C-style compiled language.

Installation

pip install frscript

Features:

  • Command line launcher (fr)
  • Compiled language - Fast by design
  • File and Socket I/O - Low-level file operations and sockets.
  • Multiprocessing. - Easy threading with fork() and wait().
  • Python integration - You can use any Python libraries with Frscript.
  • Aggressive optimization - Bytecode-level optimizations. Faster than python.
  • Stack-based VM - Fast and memory efficient.
  • Readable bytecode - Optimize hot code manually
  • WASM Backend - Run sandboxed code in web browsers.

Benchmarks:

Pi_1k

This benchmark computes 1000 digits of pi.

Python: 0.421s
Py VM: DNF
C VM: 69.81s
Native: 0.031s

Fibonacci

This benchmark computes the 1-billionth fibonacci number in mod 1 000 000.

Python: 40.435s
Py VM: DNF
C VM: 31.556s
Native: 4.472s

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

frscript-10.0.0.tar.gz (4.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

frscript-10.0.0-py3-none-any.whl (391.6 kB view details)

Uploaded Python 3

File details

Details for the file frscript-10.0.0.tar.gz.

File metadata

  • Download URL: frscript-10.0.0.tar.gz
  • Upload date:
  • Size: 4.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for frscript-10.0.0.tar.gz
Algorithm Hash digest
SHA256 5ad5e66d6c48bbed7cc171c8b6bc7b2664c842aa568e667892dd1b40e4b9ab7c
MD5 46b3879ed6aaf501b4458dc78962b4e3
BLAKE2b-256 58028d355fc5df1346561a32aeb2c2576e511933c2d2f6fce17c8d2d49736fad

See more details on using hashes here.

Provenance

The following attestation bundles were made for frscript-10.0.0.tar.gz:

Publisher: publish.yaml on Omena0/fr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file frscript-10.0.0-py3-none-any.whl.

File metadata

  • Download URL: frscript-10.0.0-py3-none-any.whl
  • Upload date:
  • Size: 391.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for frscript-10.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aa0b8979121b4e93c2a90c1bd1dde57aa23f55e4d64f7d13bf0f9fdcdb12bfb3
MD5 188fe44a390000a0d850f75a064c43e3
BLAKE2b-256 517576d51e803290d272b001a05e8428716e738f84f467a4c5487f5f8ee780bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for frscript-10.0.0-py3-none-any.whl:

Publisher: publish.yaml on Omena0/fr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page