Projects in Awesome Lists by mgriebling
A curated list of projects in awesome lists by mgriebling .
https://github.com/mgriebling/swiftmath
SwiftMath provides a full Swift implementation of iosMath for displaying beautifully rendered math equations in iOS and MacOS applications. It typesets formulae written using LaTeX in a UILabel equivalent class.
ios iosmath latex mac math swift typeset
Last synced: 13 Apr 2025
https://github.com/mgriebling/bigdecimal
Arbitrary-precision decimal arithmetic in Swift with full math functions and fixed-precision Decimal 32-, 64-, and 128-bit types.
arbitrary-precision bigdecimal decimal-functions decimal-numbers decimal128 decimal32 decimal64 math
Last synced: 13 Apr 2025
https://github.com/mgriebling/coco
Swift version of the Coco/R Compiler Generator
coco compiler-compiler compiler-construction swift
Last synced: 13 Apr 2025
https://github.com/mgriebling/swiftmathdemo
SwiftMathDemo demonstrates the use of SwiftMath using SwiftUI. The same code runs on Macs, iPhones, and iPads. Code is entirely written in Swift. The MathView.swift file provides a SwiftMath interface to SwiftUI.
demos iosmath swift swiftmath swiftmathdemo swiftui
Last synced: 13 Apr 2025
https://github.com/mgriebling/shapes
Demonstration of converting text strings to bezier graphic entities. Works on iOS or Mac.
bezier-text ios macos swiftui swiftui-example symbol
Last synced: 13 Apr 2025
https://github.com/mgriebling/mgdecimal
IEEE Decimal arithmetic 128-, 64-, and 32-bit types built entirely in Swift.
Last synced: 13 Apr 2025
https://github.com/mgriebling/uint128
A 128-bit signed/unsigned integer implementation with optimized multiplication, division, and string conversions. This package supports the new StaticBigInt on macOS 13.3+ or iOS 16.4+.
128-bit-unsigned-integer integer large-integer math swift uint128
Last synced: 13 Apr 2025
https://github.com/mgriebling/taste
Coco/R Taste example attributed grammar for use by the Swift-based Coco compiler generator.
Last synced: 13 Apr 2025
https://github.com/mgriebling/mathrender
MathRender provides a Swift package interface to the guts of iosMath for displaying beautifully rendered math equations in iOS and MacOS applications. It typesets formulae written using LaTeX in a UILabel equivalent class. It uses the same typesetting rules as LaTeX and so the equations are rendered exactly as LaTeX would render them.
Last synced: 29 Dec 2024
https://github.com/mgriebling/expressionparser
Swift expression parser and evaluator using a parser generated by Coco. Also produces a LaTeX translation of the text-based input expression.
ast coco compiler-compiler evaluator expression latex parser swift syntax-tree
Last synced: 28 Feb 2025
https://github.com/mgriebling/decimalnumbers
A Swift implementation based on the Intel Corp Decimal Floating-Point Math Library v2.2. This library uses Binary Integer Decimal (BID) encoded numbers in its implementation. Conversions to/from Densely Packed Decimal (DPD) encoded numbers are provided.
decimal decimal-numbers decimal128 decimal32 decimal64
Last synced: 19 Feb 2025
https://github.com/mgriebling/decimals
A Swift-friendly interface to the C-based CDecNumber package. It provides fixed-size interfaces to the Decimal32, Decimal64, and Decimal128 data types. An arbitrary-precision type, HDecimal, is also included.
arbitrary-precision decimal-numbers decnumber swift
Last synced: 19 Feb 2025
https://github.com/mgriebling/mathrenderdemo
MathRenderDemo demonstrates the use of MathRender within a traditional storyboard controlled by a viewcontroller. Code is entirely written in Swift (except for the MathRender package). This demo is free of alien pods and the ensuing magical incantations that everyone hates. This same demo, although in Objective-C, is available from iosMath (with alien pods).
equation latex math preview swift
Last synced: 19 Feb 2025
https://github.com/mgriebling/makemathml
MakeMathML creates a MathML output of the text file passed to this command line program as the first argument.
Last synced: 19 Feb 2025
https://github.com/mgriebling/magic-number-machine
Machine Number Machine is a graphically displayed, high-precision, scientific calculator featuring 25 digits of precision, complex numbers, WYSIWYG graphical equations, and much more.
calculator calculator-scientific equation expressions extended-precision macos magic-number-machine radix-math
Last synced: 19 Feb 2025
https://github.com/mgriebling/digitsofpie
A Swift-based calculator for the digits of Pi (π), currently hardlimited to a maximum of 10,000 — although this can be easily changed in the storyboard slider limits. This demo uses a Machin-based Pi calculation, except that it uses the Integer package's infinite-sized integers to get as many digits as we want. It still computes the formula: pi = 4 * (4 * arccot(5) - arccot(239)). The user interface is very simple with a slider to control the number of pi digits. Calculations are performed in a background task so the slider motion is not affected during the calculations.
Last synced: 19 Feb 2025
https://github.com/mgriebling/doubles
A quad-double number (QDouble) is an unevaluated sum of four IEEE double precision numbers, capable of representing at least 212 bits of significand. Algorithms for various arithmetic operations (including the four basic operations and various algebraic and transcendental operations) are presented. A Swift implementation of these algorithms is attached, along with its interfaces.
extended precision quad swift swift5
Last synced: 19 Feb 2025
https://github.com/mgriebling/integers
Implements integer values of arbitrary magnitude. Includes all standard arithmetic and logic operations. A preliminary version of rational numbers is also included with basic arithmetic operations.
arbitrary-precision-integers rational-numbers swift5
Last synced: 19 Feb 2025
https://github.com/mgriebling/lola
A digital design language by Nicklaus Wirth, similar to VHDL and Verilog, but much simpler and easier to master.
circuit-compiler digital-circuit-design lola simulator swift verilog vhdl wirth
Last synced: 19 Feb 2025
https://github.com/mgriebling/decnumbers
iOS version of decNumber library by Mike Cowlishaw
Last synced: 19 Feb 2025
https://github.com/mgriebling/cdecnumber
Package of the decNumber library by Mike Cowlishaw. This provides a very crude interface to the underlying C functions. For a nicer Swift interface use the Decimals package.
decimal decimal-numbers decnumber math
Last synced: 19 Feb 2025
https://github.com/mgriebling/digital
A clone of the main repository by Neemann. This version is temporary while I add some enhancements. The main change is to make the logic symbols closer to the IEEE standard and export publication quality graphics without pins.
Last synced: 19 Feb 2025
https://github.com/mgriebling/espressoswift
Swift interface to the C-based Espresso logic minimizer.
Last synced: 26 Mar 2025
https://github.com/mgriebling/ledchaser
LED Chaser light sequencer source code.
Last synced: 19 Feb 2025