Code Monkey home page Code Monkey logo

skull's Introduction

skull

The Skull Programming Language

Syntax Proposal

import io.print

# this is a comment!

main() Int {
  print("hello world!")

  return 0
}

return main()

Run via Docker

Versions and sizes (as of v0.9.0):

Version Size
alpine 312MB
archlinux 1.62GB
ubuntu 407MB
alpine-dev 579MB
archlinux-dev 2.35GB
ubuntu-dev 1.32GB

Running:

$ docker run --rm -it ghcr.io/dosisod/skull:<VERSION> bash

The reason these dockerfiles are so big is because they include development packages such as GCC, which is needed for the final compilation of Skull programs. This might change in the future though.

Setup

Before you build you will need to install LLVM as well as some development packages. Currently Skull is compatible with LLVM 15 and 16.

Note: If you plan on developing Skull, you will need to install LLVM 16. For Ubuntu, this requires you have Ubuntu Lunar (23.04) or newer installed.

Ubuntu

$ sudo apt install llvm-15-dev build-essential git xxd

Note: the llvm-15-dev package is only available on Ubuntu Jammy (22.04) or newer. If you want to use Skull in earlier versions of Ubuntu you will need to add the LLVM APT repositories to your system (untested), or build from source.

Arch Linux

$ sudo pacman -S base-devel clang llvm llvm-libs git man-db vim

Building and Running

$ git clone https://github.com/dosisod/skull
$ cd skull
$ sudo make install
$ skull

Testing

Note: docker is required for running https://github.com/koalaman/shellcheck in the pre-commit file.

Install additional dependencies:

Ubuntu

Install https://docs.docker.com/engine/install/ubuntu/.

In addition run:

$ sudo apt install llvm-16-dev clang-tidy-16

Arch Linux

Install https://wiki.archlinux.org/title/Docker.

Running Tests

Tests are best ran via a pre-commit:

# run tests, wont commit unless tests pass
$ git commit

To use the pre-commit, run the following:

$ ln -sf $(pwd)/pre-commit .git/hooks/pre-commit

The first time you install Skull globally, you will need to also install the header files, which should only need to be done once (until they are updated). You can do this by running:

$ sudo make install-dev

Tests may also be ran manually (no pre-commit):

$ make test e2e
$ ./build/test/test
$ ./test/sh/main.sh

Syntax Highlighting

It is recommended to use the newer tree-sitter syntax highlighter instead of the older Vim syntax highlighter.

Once you do have it installed though you will automatically get syntax highlighting for all .sk files!

Todo

  • Runnable Skull files
  • C to Skull bindings
  • Skull to C bindings
  • Rich Skull std library

skull's People

Contributors

dosisod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

skull's Issues

collect2: error: ld returned 1 exit status / make: *** [Makefile:23: skull] Error 1

Dear Dosisod

[max@workstation skull]$ ls
config.mk  docs  LICENSE  Makefile  pre-commit  README.md  skull  test
[max@workstation skull]$ make
\033[92mCompile\033[0m skull/common/errors.c
\033[92mCompile\033[0m skull/common/hashtable.c
\033[92mCompile\033[0m skull/common/io.c
\033[92mCompile\033[0m skull/common/local.c
\033[92mCompile\033[0m skull/common/malloc.c
\033[92mCompile\033[0m skull/common/str.c
\033[92mCompile\033[0m skull/common/vector.c
\033[92mCompile\033[0m skull/compiler/scope.c
\033[92mCompile\033[0m skull/compiler/types/bool.c
\033[92mCompile\033[0m skull/compiler/types/float.c
\033[92mCompile\033[0m skull/compiler/types/int.c
\033[92mCompile\033[0m skull/compiler/types/rune.c
\033[92mCompile\033[0m skull/compiler/types/str.c
\033[92mCompile\033[0m skull/compiler/types/types.c
\033[92mCompile\033[0m skull/compiler/types/_underscore_num.c
\033[92mCompile\033[0m skull/compiler/variable.c
\033[92mCompile\033[0m skull/parse/ast_node.c
\033[92mCompile\033[0m skull/parse/classify.c
\033[92mCompile\033[0m skull/parse/token.c
\033[92mCompile\033[0m skull/codegen/assign.c
\033[92mCompile\033[0m skull/codegen/ast.c
\033[92mCompile\033[0m skull/codegen/flow.c
\033[92mCompile\033[0m skull/codegen/func.c
\033[92mCompile\033[0m skull/codegen/oper.c
\033[92mCompile\033[0m skull/codegen/scope.c
\033[92mCompile\033[0m skull/codegen/setup_cleanup.c
\033[92mCompile\033[0m skull/codegen/shared.c
\033[92mCompile\033[0m skull/codegen/types.c
\033[92mCompile\033[0m skull/codegen/var.c
\033[92mCompile\033[0m skull/main.c
\033[92mCompile\033[0m skull/setup_main.c
\033[92mLink\033[0m Skull
/usr/bin/ld: build/objs/skull/compiler/scope.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/compiler/scope.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/compiler/scope.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/compiler/scope.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/compiler/scope.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/compiler/scope.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/compiler/scope.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/bool.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/bool.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/bool.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/bool.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/bool.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/bool.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/bool.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/rune.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/rune.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/rune.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/rune.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/rune.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/rune.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/rune.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/str.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/str.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/str.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/str.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/str.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/str.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/str.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.data.rel.local+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.data.rel.local+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.data.rel.local+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.data.rel.local+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.data.rel.local+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.data.rel.local+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.data.rel.local+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.bss+0x0): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/compiler/variable.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/compiler/variable.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/compiler/variable.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/compiler/variable.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/compiler/variable.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/compiler/variable.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/compiler/variable.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/parse/ast_node.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/parse/ast_node.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/parse/ast_node.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/parse/ast_node.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/parse/ast_node.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/parse/ast_node.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/parse/ast_node.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/parse/classify.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/parse/classify.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/parse/classify.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/parse/classify.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/parse/classify.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/parse/classify.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/parse/classify.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:23: skull] Error 1
[max@workstation skull]$ sudo make install
[sudo] password for max: 
\033[92mCleaning\033[0m
\033[92mCompile\033[0m skull/common/errors.c
\033[92mCompile\033[0m skull/common/hashtable.c
\033[92mCompile\033[0m skull/common/io.c
\033[92mCompile\033[0m skull/common/local.c
\033[92mCompile\033[0m skull/common/malloc.c
\033[92mCompile\033[0m skull/common/str.c
\033[92mCompile\033[0m skull/common/vector.c
\033[92mCompile\033[0m skull/compiler/scope.c
\033[92mCompile\033[0m skull/compiler/types/bool.c
\033[92mCompile\033[0m skull/compiler/types/float.c
\033[92mCompile\033[0m skull/compiler/types/int.c
\033[92mCompile\033[0m skull/compiler/types/rune.c
\033[92mCompile\033[0m skull/compiler/types/str.c
\033[92mCompile\033[0m skull/compiler/types/types.c
\033[92mCompile\033[0m skull/compiler/types/_underscore_num.c
\033[92mCompile\033[0m skull/compiler/variable.c
\033[92mCompile\033[0m skull/parse/ast_node.c
\033[92mCompile\033[0m skull/parse/classify.c
\033[92mCompile\033[0m skull/parse/token.c
\033[92mCompile\033[0m skull/codegen/assign.c
\033[92mCompile\033[0m skull/codegen/ast.c
\033[92mCompile\033[0m skull/codegen/flow.c
\033[92mCompile\033[0m skull/codegen/func.c
\033[92mCompile\033[0m skull/codegen/oper.c
\033[92mCompile\033[0m skull/codegen/scope.c
\033[92mCompile\033[0m skull/codegen/setup_cleanup.c
\033[92mCompile\033[0m skull/codegen/shared.c
\033[92mCompile\033[0m skull/codegen/types.c
\033[92mCompile\033[0m skull/codegen/var.c
\033[92mCompile\033[0m skull/main.c
\033[92mCompile\033[0m skull/setup_main.c
\033[92mLink\033[0m Skull
/usr/bin/ld: build/objs/skull/compiler/scope.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/compiler/scope.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/compiler/scope.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/compiler/scope.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/compiler/scope.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/compiler/scope.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/compiler/scope.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/bool.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/bool.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/bool.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/bool.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/bool.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/bool.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/bool.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/rune.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/rune.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/rune.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/rune.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/rune.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/rune.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/rune.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/str.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/str.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/str.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/str.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/str.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/str.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/str.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.data.rel.local+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.data.rel.local+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.data.rel.local+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.data.rel.local+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.data.rel.local+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.data.rel.local+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.data.rel.local+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/compiler/types/types.o:(.bss+0x0): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/compiler/variable.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/compiler/variable.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/compiler/variable.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/compiler/variable.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/compiler/variable.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/compiler/variable.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/compiler/variable.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/parse/ast_node.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/parse/ast_node.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/parse/ast_node.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/parse/ast_node.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/parse/ast_node.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/parse/ast_node.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/parse/ast_node.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/parse/classify.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/parse/classify.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/parse/classify.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/parse/classify.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/parse/classify.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/parse/classify.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/parse/classify.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/assign.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/ast.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/flow.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/func.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/oper.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/scope.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/setup_cleanup.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/shared.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/types.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/codegen/var.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x0): multiple definition of `TYPE_BOOL'; build/objs/skull/common/errors.o:(.bss+0x0): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x8): multiple definition of `TYPE_INT'; build/objs/skull/common/errors.o:(.bss+0x8): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x10): multiple definition of `TYPE_FLOAT'; build/objs/skull/common/errors.o:(.bss+0x10): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x18): multiple definition of `TYPE_RUNE'; build/objs/skull/common/errors.o:(.bss+0x18): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x20): multiple definition of `TYPE_STR'; build/objs/skull/common/errors.o:(.bss+0x20): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x28): multiple definition of `TYPE_VOID'; build/objs/skull/common/errors.o:(.bss+0x28): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x30): multiple definition of `TYPES_BUILTIN'; build/objs/skull/common/errors.o:(.bss+0x30): first defined here
/usr/bin/ld: build/objs/skull/setup_main.o:(.bss+0x40): multiple definition of `SKULL_STATE'; build/objs/skull/common/errors.o:(.bss+0x40): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:23: skull] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.