https://github.com/juptian/uranium
A language that is going to be compiled to IL, that works on Linux, Mac, Windows.
https://github.com/juptian/uranium
compiler compilers csharp csharp-code csharp-library csharp9 macos uranium windows-10
Last synced: 2 months ago
JSON representation
A language that is going to be compiled to IL, that works on Linux, Mac, Windows.
- Host: GitHub
- URL: https://github.com/juptian/uranium
- Owner: Juptian
- License: mit
- Created: 2021-04-09T16:15:31.000Z (about 4 years ago)
- Default Branch: Master
- Last Pushed: 2024-03-13T01:54:04.000Z (about 1 year ago)
- Last Synced: 2025-03-24T01:11:14.473Z (3 months ago)
- Topics: compiler, compilers, csharp, csharp-code, csharp-library, csharp9, macos, uranium, windows-10
- Language: C#
- Homepage:
- Size: 2.39 MB
- Stars: 16
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
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 finishedContributing
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 itFinally, 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 producedHow 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