From ef01c5ad22fa2f9307a3eeb314c27e455faa2672 Mon Sep 17 00:00:00 2001 From: Doga Genc Date: Sun, 12 Aug 2018 15:38:54 +0300 Subject: [PATCH] Add Solidity language --- README.md | 1 + s/Solidity.sol | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 s/Solidity.sol diff --git a/README.md b/README.md index 8f9fca1c..62b91ed4 100644 --- a/README.md +++ b/README.md @@ -446,6 +446,7 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo * [Smil](s/smil.smil) * [Sml](s/sml.sml) * [Snowman](s/snowman.sm) +* [Solidity](s/Solidity.sol) * [Soupscript](s/soupscript.script) * [Sparql](s/sparql.sparql) * [Spoon](s/spoon.spoon) diff --git a/s/Solidity.sol b/s/Solidity.sol new file mode 100644 index 00000000..f331e579 --- /dev/null +++ b/s/Solidity.sol @@ -0,0 +1,7 @@ +pragma solidity ^0.4.24; + +contract HelloWorld { + function render () public pure returns (string) { + return 'Hello World'; + } +}