Coder Social home page Coder Social logo

davidmacdonald11 / sea-compiler Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 0.0 392 KB

Sea - It's C, just written differently. The Sea programming language is a variant of the C language with improved syntax.

License: MIT License

Kotlin 95.12% Makefile 0.35% Shell 4.53%

sea-compiler's Introduction

Sea Programming Language

OUTDATED

This repo is outdated. Check out https://github.com/DavidMacDonald11/Zenith-Compiler/

The Sea language was born out of a desire to make C less annoying. Originally, Sea was intended to be 100% C, with 100% Python-inspired syntax. Over the few years I have worked on this project, it has morphed. Now, Sea is a version of C with syntax derived from Kotlin and Python, and memory management inspired by Rust.

File Extensions and Pronunciation

With this language comes a few file extenstions:

  • .sea, equivalent to .c

  • .seatmp, used for temporary compiler data

  • .seadebug, used for generated debug info

I have decided to pronounce "Sea" exactly as the English word; exactly as C. I’m sorry.

Being C, just written differently, the name makes perfect sense.

Compiler Functionality

This program includes the Sea compiler, which transpiles Sea to C. Then, you may use any C compiler to generate assembly or machine code.

Install Instructions

TBD

There will be releases containing the packaged jar file and sea.bash or sea.bat.

Run Instructions

TBD

Documentation, Syntax, and Grammar

I am basing much of this code on David Callanan’s BASIC interpreter written in Python which is licensed under MIT.

Feel free to write your own program to interact with this code and absolutely feel free to use the Sea language. It is my intention for this language and code to be useful. If you think my current license is too strict to achieve that, let me know. See LICENSE for details.

Feel free to use my code as a basis for your own compiler, programming language, etc!

sea-compiler's People

Contributors

davidmacdonald11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.