Peregrine
Peregrine 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 an easy one to C.
Goals
- Ease of 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 Peregrine code (the language is named Peregrine). 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.
Requirements to build from source
- Gcc compiler
- V compiler
Build instruction
- Clone this repository using the following command ->
git clone https://github.com/Peregrine-lang/Peregrine.git - Run
cd Peregrine/Peregrine - To build it run
v Peregrine.v - That's it
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 Peregrine 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.
Have a look at the open issues to find a mission that resonates with you.
Please check CONTRIBUTING.md to know how you can contribute.
If you create any new file make sure to comment your name in the file as shown Original author: Your name
License
The Peregrine compiler is licensed under the Mozilla Public License

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

