Skip to content

EmmanuelOga/ceed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ceed
----
Ceed is a tiny open source compiler for x86 Linux and Windows. It can compile
a high level language source code into ELF or PE executable. Design and
implementation of Ceed is described at: http://logicpundit.com/blog/ceed


Folders
-------
src - Contains source code for Ceed compiler
tst - Contains some test program for Ceed compiler
lib - Contains asm code for functions injected in Ceed output


Compile
-------
// Linux or Cygwin
cd src
make ceed


Usage
-------
To create ELF executable: ./ceed < <input>
To create PE executable: ./ceed -pe < <input>


Example
-------
./ceed < math.e
chmod +x a.exe or chmod +x a.out to make the file executable.
On Windows, even if you produce a.exe in cygwin, you can only run it in cmd
prompt. If you run output file in cygwin, it won't work.


Notes
-----
- Only 32-bit Linux and Windows are supported
- Code generated by Ceed is sub-optimal and may contain bugs. Only use for
  learning purpose.

About

A tiny x86 compiler with ELF and PE target

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 78.2%
  • Yacc 8.3%
  • Assembly 6.6%
  • Lex 3.7%
  • E 2.2%
  • Makefile 0.7%
  • Shell 0.3%