-
Notifications
You must be signed in to change notification settings - Fork 137
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
Haxe-Func : A Powerful Haxe Toolset for TON Smart Contract Development #770
Comments
@delovoyhomie Please review it |
Some observations from my side:
@kayx86 You might want to add some more technical details here. How exactly are your going to use Haxe and the tools around it to produce the end result? |
Thank you for your valuable feedback. You are correct in noting that Mature Tooling : Haxe's robust IDE support, syntax highlighting, and advanced macro system. We will update the proposal to include a detailed documentation plan and specify how IDE and tooling support will be leveraged. The proposal will also outline how Additionally, we will revise the "expected result" section to clearly show the successful implementation of a Jetton using Thank you for helping us refine the proposal. |
@anton-trunov @delovoyhomie |
@kayx86 I would suggest you first provide an MVP that can be used to implement Jetton contracts and then it would be much easier to assess the merits of the project. Right now all you say is you are going to build on an existing Haxe infrastructure but it's not at all obvious to people (like myself) unfamiliar with Haxe, to understand how exactly you are going to do it. I would suggest add a quick summary explaining what Haxe is and your step-by-step plan showing what you are going to do. Basically, I'm skeptical about using "compiler constructor" frameworks if that's that Haxe is. (I mean even parser generators are not really mature enough for what people usually want from programming language implementation). I'm happy to change my mind, though. |
@anton-trunov appreciate your skepticism, and I’d like to provide a more detailed explanation to address your concerns. Haxe is a high-level, cross-platform language with a powerful type system and macro capabilities that make it a versatile tool for code generation and transpilation. It is not a “compiler constructor” framework in the traditional sense; rather, it is a fully-fledged language that can generate code for multiple target languages, such as JavaScript, C++, Python, and more. The advantage of using Haxe for building a transpiler to FunC lies in its macro system and abstract syntax tree (AST) manipulation capabilities. This allows for the creation of a robust and flexible transpiler that can map Haxe’s high-level constructs to FunC’s low-level, blockchain-optimized constructs. To give you more information to consider, I have continue and developed a basic transpiler that demonstrates the foundational concept and have prepared a demo video to showcase this. This initial implementation proves that the Haxe-to-FunC transpilation is not only possible but also promising. Me and @kayx86 is super excited and will definitely move forward to fully implement the Jetton standard and other complex smart contracts on the TON network no matter we got the grant or not. Even though, I believe that with the support of the grant, we can take this project to the next level and provide a valuable tool for the TON community. I hope the demo video will help demonstrate the potential of this project, and I am happy to discuss further any questions or concerns you may have. Thank you for considering the proposal, and I look forward to your feedback. |
@delovoyhomie please review and feedback . Tks ser , i very happy if you approve and assigne me |
@kayx86 @fluctlight-kayaba I checked the AST traversal code in the linked repo and didn't see anything spectacular that would bring as a new working compiler with a few keystrokes. I'm sorry, but I think you are severely underestimating the effort that needs to be poured in to create a new programming language and an ecosystem around it. My recommendation would be to not support this major undertaking via bounties. I can see two ways in which this could be supported:
|
Summary
Haxe-Func
is a toolset built on Haxe that simplifies the development of smart contracts on the TON network. Leveraging Haxe’s mature ecosystem, including its static typing, advanced macro system, and comprehensive development tooling,Haxe-Func
aims to provide a reliable and efficient development environment for smart contracts development on TON.Context
Key features:
Benefits:
Target audience:
Haxe-Func
caters to both experienced Haxe developers and beginners interested in smart contract development on the TON network. Its integration with Haxe's development tools makes it accessible and powerful for a wide range of users.Goal:
haxe-func
is to create a user-friendly and efficient development environment for TON smart contracts, enabling developers to focus on business logic rather than complex technical details.Technical Approach:
haxe-func
builds upon Haxe's existing infrastructure, including its macro system and LSP support, to streamline the development process and enhance tooling.Expected Result:
haxe-func
by successfully implementing aJetton
on the TON network. This will showcase the toolset’s effectiveness and validate its utility for smart contract development.References
Currently there is no similar tool , this is the repo we are working on
https://github.com/cocrafts/haxe-func
Estimate suggested reward
The text was updated successfully, but these errors were encountered: