Uranium icon indicating copy to clipboard operation
Uranium copied to clipboard

A language that is going to be compiled to IL, that works on Linux, Mac, Windows.

Uranium Logo

Uranium

Uranium is a compiler that I decided to make from scratch, it is targetted at the CLR and will hopefully output IL code later. Currently, Uranium isn't finished

Contributing

If you wish to contribute please do the following:

  • Fork the project to your own public repo,
  • Make the changes and commit them to the forked repo,
  • Make a pull request to the TESTING branch,
  • Then, I will personally review the pull request, I will give feedback on it, and then merge or decline it.

Issues

If you have issues, please do the following:

  • Create an issue with a short, yet descriptive title
  • In the issue, please explain what the issue is in depth and how to recreate it

Finally, please be patient as I try to fix it. If it's not fixed quickly, you can always contribute to the repo by making a PR for it

Not understand a part of the code?

Feel free to open an issue asking about it, asking for specifications or asking me to write a `README` about it, I'll be more than happy to respond!

Using & Installing

To use the compiler, please make sure you have .NET 5 installed, once you've done that, do the following steps:

  • Add text to the test.urnm file located in the central folder
  • Either run the run.bat file I have in that same directory, or run it via command line with dotnet run test.txt

Additional arguments:

The current command line arguments accepted are:
--showtree

This will show the syntax tree that is produced.

--boundTree

This will show the bound syntax tree that is produced

How to use additional arguments:

To use additional arguments, simply type
dotnet run test.txt

then add each argument, separated by a space, so for example:

dotnet run test.txt --showtree 

This repository is a part of the The List of Developing Languages in Brackeys Server so far I recommend you go check out the others