A statically typed programming language for scientific computations with first class support for physical dimensions and units
by sharkdpRust
Last 12 weeks · 10 commits
2 of 6 standards met
Summary Addresses #434. Generate versioned GNU/Linux shared-library dependencies with . Keep glibc dependencies out of statically linked musl packages. Correct the Debian architecture name for i686 targets to . Check the final dependency field against the generated dependencies. Configure Ubuntu Ports for ARM foreign-architecture dependencies while restricting the standard Ubuntu archives to amd64/i386 (follow-up commit ). Validation Packaging Bash syntax check and passed locally before the follow-up. The previous GitHub Actions run failed in arm64 and armhf Debian packaging; the arm64 APT log showed HTTP 404s for arm64 indices from the wrong archive. Follow-up commit implements the ARM APT source adjustment; the new GitHub Actions run is in progress: https://github.com/sharkdp/numbat/actions/runs/35462008574. Outstanding before merge Verify the new CI matrix, especially amd64, i386, arm64 and armhf, and inspect the resulting dependency fields. This PR is ready for review, not yet verified for merge; do not merge until packaging jobs and artifact checks pass.
Fixes #442. Summary Add Python-style raw string literals. Preserve backslashes without interpreting escape sequences. Treat braces literally instead of starting interpolation. Reuse the existing string AST without changing normal string behavior. Report unterminated raw strings using the existing tokenizer error. Rust-style hash delimiters are intentionally outside the scope of this PR. Tests Tokenizer regression tests for raw strings, spans and unterminated input. Interpreter tests for braces, backslashes, quotes and regular strings. CLI regression checks for raw and interpolated strings.
Fixes #102. Summary Preserve source spans for parenthesized expressions in the AST. Keep grouping parentheses transparent to expression evaluation, name resolution and type checking. Include surrounding parentheses in relevant diagnostic highlights. Preserve existing quantity parsing and temperature-conversion behavior. Tests Add a regression test checking the source span of nested parentheses. Verify ordinary parenthesized arithmetic produces the same results. Update the affected non-scalar-exponent diagnostic snapshot. Run . Run . Run CLI smoke tests for parenthesized arithmetic, function calls and quantities. Run .
Repository: sharkdp/numbat. Description: A statically typed programming language for scientific computations with first class support for physical dimensions and units Stars: 2687, Forks: 116. Primary language: Rust. Languages: Rust (95%), HTML (1.4%), Python (1.4%), JavaScript (1.2%), CSS (0.7%). License: Apache-2.0. Homepage: https://numbat.dev Topics: calculator, physics, programming-language, statically-typed, terminal-based, units, web-app. Latest release: v1.24.0 (4w ago). Open PRs: 42, open issues: 87. Last activity: 3w ago. Community health: 42%. Top contributors: sharkdp, rben01, Goju-Ryu, irevoire, eminence, Bzero, triallax, hirehamir, simmsb, t-webber and others.