muf

A compiler and virtual machine for a small F90-inspired language.

https://github.com/t-weber/muf

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (4.5%) to scientific vocabulary

Keywords

compiler compiler-design
Last synced: 6 months ago · JSON representation ·

Repository

A compiler and virtual machine for a small F90-inspired language.

Basic Info
  • Host: GitHub
  • Owner: t-weber
  • License: gpl-3.0
  • Language: C++
  • Default Branch: main
  • Homepage:
  • Size: 619 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Topics
compiler compiler-design
Created about 1 year ago · Last pushed 11 months ago
Metadata Files
Readme License Citation Authors

README.md

$\mathrm{\mu F}$

A compiler and virtual machine for a small F90-inspired language.
DOI: 10.5281/zenodo.14955118

Dependencies

  • Install the LALR(1) library: https://github.com/t-weber/lalr1.
  • Install Mathlibs: https://github.com/t-weber/mathlibs.

Building

  • Create the build directory: mkdir build && pushd build.
  • Build the parser generator: cmake -DCMAKE_BUILD_TYPE=Release .. && make -j$(($(nproc)/2+1)).
  • Generate the parser by running ./parsergen from the build directory.
  • Re-run cmake -DCMAKE_BUILD_TYPE=Release .. && make -j$(($(nproc)/2+1)) to build the actual compiler.

Test

  • Compile an example program using ./compile ../test/comb.muf.
  • Run the program using ./vm comb.bin.

Owner

  • Name: Tobias Weber
  • Login: t-weber
  • Kind: user
  • Location: Seyssinet-Pariset, FR
  • Company: https://code.ill.fr/tweber

This is my personal GitHub account. My work mirror account can be found here: @tweber-ill.

Citation (CITATION.cff)

#
# citation file
# @see: https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md
#

cff-version: 1.2.0
type: software
title: muF
message: µF compiler and VM.
authors:
  - family-names: Weber
    given-names: Tobias
    email: tobias.weber@tum.de
    orcid: "https://orcid.org/0000-0002-7230-1932"
license: GPL-3.0
repository-code: "https://github.com/t-weber/muF"

GitHub Events

Total
  • Release event: 3
  • Push event: 38
  • Create event: 3
Last Year
  • Release event: 3
  • Push event: 38
  • Create event: 3