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

Add the Cadence Language #120

Open
jacob-tucker opened this issue Dec 19, 2021 · 4 comments
Open

Add the Cadence Language #120

jacob-tucker opened this issue Dec 19, 2021 · 4 comments
Labels

Comments

@jacob-tucker
Copy link

What programming language should we add?
Cadence - the Smart Contract programming language for the Flow blockchain.

What is the official website for the language?
https://docs.onflow.org/cadence/

Is this a language that comes in many variants? If so, which variant should we support?
No.

Does the language have an official logo? If so

Is there a testing framework available for the language?
Yes, you can mess around with Cadence code on the Flow playground here: https://play.onflow.org/

If it is not supported by Highlightjs, what is the closest supported language it maps to?
It is not officially supported, likely because this language is still relatively new and is also a part of the Blockchain space, which has not seen wide adoption yet. Although I do see Solidity is listed there.

It is closest to the Swift programming language.

Who will be leading the effort to launch the track?
Jacob Tucker (me) and a Decentralized Autonomous Organization (DAO) that is operating to educate members of the Flow community. The DAO acts as a community of people who will continuously produce content to help out in this effort.

@ynfle
Copy link

ynfle commented Jan 6, 2022

@iHiD and team were on break and probably working through approximately 10 million GitHub notifications. I'm sure you'll be assisted shortly

@iHiD
Copy link
Member

iHiD commented Jan 7, 2022

Hi there! Thanks for this. Couple of things to check:

  1. Is Cadence turing complete?
  2. What is required to actually run a Cadence program? Thinking of our online editor enviornment for example - what would we need to do (conceptually) to get that running?

@jacob-tucker
Copy link
Author

Hey @iHiD , thank you for your response!

  1. Yes Cadence is turing complete.
  2. You can run a Cadence program pretty easily at https://play.onflow.org

Steps to running your first program:

  1. Go to https://play.onflow.org
  2. Click on the 0x01 tab on the left and click 'Deploy.'
  3. Click on the 'Transaction' tab on the left and click 'Submit' on the right hand side.
  4. You'll see in the console that you ran your first program :)

@kytrinyx
Copy link
Member

This must have gotten lost. So sorry about that!

@jacob-tucker you've linked to play.onflow.org but this is not a testing framework, and it also doesn't help us understand what we would have to do in order to build out the environment to support the language within the Exercism platform.

From the little digging that I've done, I'm not sure this is something that we can support at the moment, but I'd be happy to be proven wrong on that point!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants