Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write Ć in Ć #48

Closed
tq-xyy opened this issue Dec 5, 2021 · 17 comments
Closed

Write Ć in Ć #48

tq-xyy opened this issue Dec 5, 2021 · 17 comments
Assignees

Comments

@tq-xyy
Copy link

tq-xyy commented Dec 5, 2021

I think it is cool.

@andreasbaumann
Copy link

Actually, this is a really nice idea: so cito could have bootstrapping backends when being transpiled to quite a lot of languages.

@pfusik
Copy link
Collaborator

pfusik commented Jan 25, 2022

Yes, that's the plan!

I'd love to have cito:

  • without the dependency on .NET
  • running right in your browser

I've made some progress already: added HashSet and Stack collections, refactored cito to avoid boxing.

@pfusik pfusik self-assigned this Jan 25, 2022
@andreasbaumann
Copy link

Cool. :-)

@andr1972
Copy link

As I wrote in discussion: before writing Ć in Ć , can make C#-> Ć transpiler. People which can much C# code will possibility convert it to Ć before convert to other languages.

pfusik added a commit that referenced this issue Jul 27, 2022
pfusik added a commit that referenced this issue Jul 27, 2022
pfusik added a commit that referenced this issue Jul 27, 2022
pfusik added a commit that referenced this issue Aug 8, 2022
pfusik added a commit that referenced this issue Aug 8, 2022
pfusik added a commit that referenced this issue Aug 9, 2022
pfusik added a commit that referenced this issue Aug 9, 2022
pfusik added a commit that referenced this issue Aug 9, 2022
pfusik added a commit that referenced this issue Aug 9, 2022
pfusik added a commit that referenced this issue Aug 9, 2022
pfusik added a commit that referenced this issue Aug 10, 2022
pfusik added a commit that referenced this issue Aug 11, 2022
pfusik added a commit that referenced this issue Aug 11, 2022
pfusik added a commit that referenced this issue Aug 11, 2022
pfusik added a commit that referenced this issue Aug 13, 2022
pfusik added a commit that referenced this issue Aug 14, 2022
pfusik added a commit that referenced this issue May 15, 2023
pfusik added a commit that referenced this issue May 16, 2023
pfusik added a commit that referenced this issue May 16, 2023
pfusik added a commit that referenced this issue May 19, 2023
pfusik added a commit that referenced this issue May 22, 2023
pfusik added a commit that referenced this issue May 22, 2023
@pfusik
Copy link
Collaborator

pfusik commented May 22, 2023

Great news: we have cito in C++! It passes all the tests and runs much faster than the C# version.

Next steps:

  • Test on macOS and Linux
  • Add CI tests
  • Continue porting to browser JavaScript
  • Update the docs
  • Release 3.0.0 with native binaries for Windows/macOS/Linux

pfusik added a commit that referenced this issue May 30, 2023
pfusik added a commit that referenced this issue May 30, 2023
pfusik added a commit that referenced this issue May 31, 2023
pfusik added a commit that referenced this issue May 31, 2023
pfusik added a commit that referenced this issue Jun 9, 2023
@pfusik
Copy link
Collaborator

pfusik commented Jun 10, 2023

Test on macOS and Linux

Works fine with gcc 13 on Fedora 38.
xcode on macOS doesn't implement enough C++20. @pdelewski How to install gcc 13?

Add CI tests

GitHub Actions and Travis only support Ubuntu up to 22.04. I can't find gcc 13 or clang 16 packages for it.

Continue porting to browser JavaScript

make -j8 test CITO="node cito.js" passes all the tests. :)

@pdelewski
Copy link
Contributor

@pfusik I was installing via brew install gcc 13 is the latest version

@epi
Copy link
Contributor

epi commented Jun 10, 2023

@pfusik On Ubuntu 22.04 I built GCC 13 from sources, but that probably won't work in CI.

@pfusik
Copy link
Collaborator

pfusik commented Jun 10, 2023

sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt install g++-13

pfusik added a commit that referenced this issue Jun 16, 2023
pfusik added a commit that referenced this issue Jun 16, 2023
pfusik added a commit that referenced this issue Jun 16, 2023
pfusik added a commit that referenced this issue Jun 27, 2023
So that the results can be compared.

#48
pfusik added a commit that referenced this issue Jun 27, 2023
pfusik added a commit that referenced this issue Jun 27, 2023
pfusik added a commit that referenced this issue Jun 27, 2023
@pfusik
Copy link
Collaborator

pfusik commented Aug 7, 2023

The language is now fully implemented in itself, except for I/O.
Native binaries for Windows, macOS and Linux can be built with C++20 compilers. A release is coming soon.
The transpiler also works in browser JavaScript. It will be present on the language website.
And the C#-hosted transpiler continues to work, but is less performant than the C++ version.

I'd like to enable the transpilation to Java for an IntelliJ IDEA plugin. It will probably need small changes in the Java backend (Java doesn't support constant case with a when clause).

@pfusik pfusik closed this as completed Aug 7, 2023
@pfusik
Copy link
Collaborator

pfusik commented Aug 31, 2023

You can now run fut in your browser: https://fusion-lang.org
4K monitor strongly recommended.

pfusik added a commit that referenced this issue Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants