Skip to content

Releases: jzadl/molotov

mltv v1.5

Choose a tag to compare

@jzadl jzadl released this 25 Jun 23:03
bdc8cb2

Molotov v1.5

  • Libraries as native .rs modules instead of embed_rust("""..."""): math, random, os, datetime, ansi
  • Uses cargo instead of direct rustc for compilation, enabling external crate dependencies (rand, serde_json)
  • from module import func resolves both .mltv and .rs sources
  • Float literals transpile correctly (0.0 no longer becomes 0)
  • Libraries ship with package.mpk metadata, installable to ~/.molotov/libs/

Install

Linux / macOS

curl -fsSL https://raw.githubusercontent.com/jzadl/molotov/main/install.sh | sh

Windows

irm https://raw.githubusercontent.com/jzadl/molotov/main/install.ps1 | iex

BSD

curl -fsSL https://raw.githubusercontent.com/jzadl/molotov/main/install.sh | sh

Binaries

Platform Download
Linux x86_64 mltv-linux-x86_64.tar.gz
Linux ARM64 mltv-linux-arm64.tar.gz
Linux i686 mltv-linux-i686.tar.gz
macOS x86_64 mltv-macos-x86_64.tar.gz
macOS ARM64 (M1/M2/M3) mltv-macos-arm64.tar.gz
Windows x86_64 (MSVC) mltv-windows-x86_64.zip
Windows ARM64 (MSVC) mltv-windows-arm64.zip
Windows i686 (MSVC) mltv-windows-i686.zip
Windows x86_64 (GNU) mltv-windows-x86_64-gnu.zip
FreeBSD x86_64 mltv-freebsd-x86_64.tar.gz

mltv v1.4

Choose a tag to compare

@jzadl jzadl released this 25 Jun 21:06

Molotov v1.4

Bug fixes

  • Tuple subscripting: .0, .1 now generates valid Rust
  • int()/float(): parse integers via string first
  • list.pop(): adds .unwrap() to Rust Vec::pop()
  • dict.pop(key): uses HashMap::remove() correctly, optional default support
  • type_of(): returns real Rust type name, not "<value>"
  • map()/filter(): use .iter().cloned() + .collect::<Vec<_>>() so result is indexable
  • Comprehensions: element type inferred from iterable, not hardcoded i64
  • Bare !: now a syntax error instead of broken code
  • rustc errors: both invocations now print stderr on failure

New features

  • Chained comparisons: a < b < c => a < b && b < c
  • is not operator
  • New builtins: all(), any(), sorted(), reversed()
  • Mixed-type comparisons: f64 vs i64 casts both to f64
  • is/is not None resolved at transpile time

Tests

  • super_test.mltv passing with tuple .0/.1 access
  • test_tuple_ops.mltv: removed known_bug marker

Install

Linux / macOS / BSD

curl -fsSL https://raw.githubusercontent.com/jzadl/molotov/main/install.sh | sh

Windows

irm https://raw.githubusercontent.com/jzadl/molotov/main/install.ps1 | iex

BSD

curl -fsSL https://raw.githubusercontent.com/jzadl/molotov/main/install.sh | sh

Binaries

Platform Download
Linux x86_64 mltv-linux-x86_64.tar.gz
Linux ARM64 mltv-linux-arm64.tar.gz
Linux i686 mltv-linux-i686.tar.gz
macOS x86_64 mltv-macos-x86_64.tar.gz
macOS ARM64 (M1/M2/M3) mltv-macos-arm64.tar.gz
Windows x86_64 (MSVC) mltv-windows-x86_64.zip
Windows ARM64 (MSVC) mltv-windows-arm64.zip
Windows i686 (MSVC) mltv-windows-i686.zip
Windows x86_64 (GNU) mltv-windows-x86_64-gnu.zip
FreeBSD x86_64 mltv-freebsd-x86_64.tar.gz

mltv v1.3

Choose a tag to compare

@jzadl jzadl released this 23 Jun 04:45

Molotov v1.3

Python-easy syntax. Rust-speed performance.

Added more binaries and fixed Windows compatibility :)
(Functionality on Windows ARM/32Bits/GNU and FreeBSD is not tested)

Install

Linux / macOS / BSD

curl -fsSL https://raw.githubusercontent.com/jzadl/molotov/main/install.sh | sh

Windows

irm https://raw.githubusercontent.com/jzadl/molotov/main/install.ps1 | iex

Binaries

Platform Download
Linux x86_64 mltv-linux-x86_64.tar.gz
Linux ARM64 mltv-linux-arm64.tar.gz
Linux i686 mltv-linux-i686.tar.gz
macOS x86_64 mltv-macos-x86_64.tar.gz
macOS ARM64 (M1/M2/M3) mltv-macos-arm64.tar.gz
Windows x86_64 (MSVC) mltv-windows-x86_64.zip
Windows ARM64 (MSVC) mltv-windows-arm64.zip
Windows i686 (MSVC) mltv-windows-i686.zip
Windows x86_64 (GNU) mltv-windows-x86_64-gnu.zip
FreeBSD x86_64 mltv-freebsd-x86_64.tar.gz

mltv v1.2

Choose a tag to compare

@jzadl jzadl released this 16 Jun 03:24
ef4b182

Molotov v1.2

Python-easy syntax. Rust-speed performance.

Install

Linux / macOS

curl -fsSL https://raw.githubusercontent.com/jzadl/molotov/main/install.sh | sh

Windows

irm https://raw.githubusercontent.com/jzadl/molotov/main/install.ps1 | iex

Binaries

Platform Download
Linux x86_64 mltv-linux-x86_64.tar.gz
Linux ARM64 mltv-linux-arm64.tar.gz
macOS x86_64 mltv-macos-x86_64.tar.gz
macOS ARM64 (M1/M2/M3) mltv-macos-arm64.tar.gz
Windows x86_64 mltv-windows-x86_64.zip

mltv v1.1

Choose a tag to compare

@jzadl jzadl released this 15 Jun 04:07

Molotov v1.1

Python-easy syntax. Rust-speed performance.

Install

Linux / macOS

curl -fsSL https://raw.githubusercontent.com/jzadl/molotov/main/install.sh | sh

Windows

irm https://raw.githubusercontent.com/jzadl/molotov/main/install.ps1 | iex

Binaries

Platform Download
Linux x86_64 mltv-linux-x86_64.tar.gz
Linux ARM64 mltv-linux-arm64.tar.gz
macOS x86_64 mltv-macos-x86_64.tar.gz
macOS ARM64 (M1/M2/M3) mltv-macos-arm64.tar.gz
Windows x86_64 mltv-windows-x86_64.zip

Full Changelog: v1.0...v1.1

mltv v1.0

Choose a tag to compare

@jzadl jzadl released this 14 Jun 22:14
6eb1742

Molotov v1.0

Python-easy syntax. Rust-speed performance.

Install

Linux / macOS

curl -fsSL https://raw.githubusercontent.com/jzadl/molotov/main/install.sh | sh

Windows

irm https://raw.githubusercontent.com/jzadl/molotov/main/install.ps1 | iex

Binaries

Platform Download
Linux x86_64 mltv-linux-x86_64.tar.gz
Linux ARM64 mltv-linux-arm64.tar.gz
macOS x86_64 mltv-macos-x86_64.tar.gz
macOS ARM64 (M1/M2/M3) mltv-macos-arm64.tar.gz
Windows x86_64 mltv-windows-x86_64.zip