Thanks to visit codestin.com
Credit goes to github.com

Skip to content

hiphoox/c231-linkers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c231-linkers

Compilers Project Elixir , Linkers Team

Instalation

First you need the last version of elixir then you can follow the next instructions

  1. git clone https://github.com/hiphoox/c231-linkers
  2. cd c231-linkers (check the path where you clone the repository)
  3. mix escript.build

Usasge

You can use the following args to use the compiler

./nqcc (path of the .c)

Flags

./nqcc --help :print the help

./nqcc --<flag> (path of the .c)

--asm :Shows file assembler
--tl :Shows token List
--ast :Shows AST tree
--o :Change the name of the executable

Examples

To compile the .c file

./nqcc ./examples/return_2.c

To use flags

./nqcc --help
./nqcc --tl ./examples/return_2.c
./nqcc --o ./examples/return_2.c return

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •