Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

DavidMacDonald11/Sea-Compiler

Repository files navigation

Sea Programming Language

OUTDATED

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!

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published