GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - grassator/mass: A compiler for a new language focusing on compile-time execution and no LLVM dependency.

BranchesTags
Open more actions menu

Latest commit

 

History

2,905 Commits
2,905 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
fixtures
fixtures
 
 
std
std
 
 
.gdbinit
.gdbinit
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.lldbinit
.lldbinit
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
bdd-for-c.h
bdd-for-c.h
 
 
build.bat
build.bat
 
 
build.sh
build.sh
 
 
calling_convention.h
calling_convention.h
 
 
cli.vcxproj
cli.vcxproj
 
 
cli.vcxproj.filters
cli.vcxproj.filters
 
 
cli.vcxproj.user
cli.vcxproj.user
 
 
debug.natvis
debug.natvis
 
 
encoding.c
encoding.c
 
 
function.c
function.c
 
 
function.h
function.h
 
 
gdb_mass.py
gdb_mass.py
 
 
gdb_prelude.py
gdb_prelude.py
 
 
generated.natvis
generated.natvis
 
 
generated_exports.c
generated_exports.c
 
 
generated_gdb.py
generated_gdb.py
 
 
generated_types.h
generated_types.h
 
 
instruction.c
instruction.c
 
 
loc.bat
loc.bat
 
 
mass.c
mass.c
 
 
mass.sln
mass.sln
 
 
meta.c
meta.c
 
 
pe32.c
pe32.c
 
 
posix_runtime.h
posix_runtime.h
 
 
prelude.h
prelude.h
 
 
prelude.natvis
prelude.natvis
 
 
program.c
program.c
 
 
program.h
program.h
 
 
release.bat
release.bat
 
 
source.c
source.c
 
 
source.h
source.h
 
 
source_spec.c
source_spec.c
 
 
test.bat
test.bat
 
 
test.sh
test.sh
 
 
tests.vcxproj
tests.vcxproj
 
 
tests.vcxproj.filters
tests.vcxproj.filters
 
 
tests.vcxproj.user
tests.vcxproj.user
 
 
tokenizer.c
tokenizer.c
 
 
types.h
types.h
 
 
value.c
value.c
 
 
value.h
value.h
 
 
win32_platform.h
win32_platform.h
 
 
win32_runtime.h
win32_runtime.h
 
 

Repository files navigation

Mass (Meta Assembly) Language

A lot of the code for this repository is developed live on my "Compiler Programming in C" series of videos on YouTube.

Build

Windows

The code has been tested with MSVC 14.0+ compiler with. To build the code open up MSVC Command Prompt and run build.bat in the repository folder. Tests can be executed by running test.bat.

Mac / Linux

There is currently no support for generating Linux or Mac binaries, however it is possible to run the code in JIT mode.

You can build the code by running ./build.sh and tests are run with ./test.sh. Both gcc and clang compilers are supported and you can set which one to use by providing a CC environment variable:

CC=clang ./build.sh

License

Copyright (c) 2020 Dmitriy Kubyshkin (unless noted otherwise in the code).

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

A compiler for a new language focusing on compile-time execution and no LLVM dependency.

www.youtube.com/watch?v=k3gDvF-Fbpw&list=PLvdK1vRmp8wMzH4w_8sQ30NKU3Bt4Cc-M

Topics

assemblyccompilerjitlinuxmachine-codewindowsx86

Resources

Readme
MIT license
Activity

Stars

297 stars

Watchers

14 watching

Forks

10 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.