Skip to content

An easy to use systems programming language with python like syntax

License

Notifications You must be signed in to change notification settings

robotboyfriend/swallow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swallow

Swallow is a compiled programming language currently under development. Docs coming soon

-----------------------------------------------------

Why am I creating this language?

I am creating it as a fast alternative to python and as an easy alternative to c

-----------------------------------------------------

Goals

  • Ease to use
  • Fast
  • Highly modular
  • Occupies less memory
  • Compiled

-----------------------------------------------------

How does it work?

You can consider it to be a superset of c which compiles to clean c. So valid c code is also valid swallow code(the language is named swallow). It will have no garbage collector because it is a system programming language but it will be very easy to use so there will be less chance of memory leak

-----------------------------------------------------

Primary implementation language

For now it is written in v(visit vlang.io for more info) but in the future it will be self hosted

-----------------------------------------------------

Progress

Currently we are working on the codegen and some swallow programs are working :)

-----------------------------------------------------

Example

Here is a small example for you to understand

def main():
    print("hi")

The main function is the entry point for the program

-----------------------------------------------------

Have more questions?

Cool, you can contact me via mail
Email: saptakbhoumik@gmail.com

-----------------------------------------------------

Want to contribute?

Great, go ahead and make the changes you want. If you create any new file make sure to comment your name in the file as shown Original author: Your name

-----------------------------------------------------

License

The swallow compiler is licensed under the Mozilla Public License

About

An easy to use systems programming language with python like syntax

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • V 90.6%
  • C 8.7%
  • Other 0.7%