Adding Coq hello world program (#1423)
* Create Coq.v * Update readme.md * Removed useless things * Update c/Coq.v Co-authored-by: Gabe <66077254+MrBrain295@users.noreply.github.com>
This commit is contained in:
11
c/Coq.v
Normal file
11
c/Coq.v
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
Require Import Coq.Lists.List.
|
||||||
|
Require Import Io.All.
|
||||||
|
Require Import Io.System.All.
|
||||||
|
Require Import ListString.All.
|
||||||
|
|
||||||
|
Import ListNotations.
|
||||||
|
Import C.Notations.
|
||||||
|
|
||||||
|
(** The classic Hello World program. *)
|
||||||
|
Definition hello_world (argv : list LString.t) : C.t System.effect unit :=
|
||||||
|
System.log (LString.s "Hello World").
|
||||||
@@ -8,7 +8,7 @@ Thanks to everyone who continues to contribute; new languages are created every
|
|||||||
Make sure to see [contributing.md](/contributing.md) for instructions on contributing to the project!
|
Make sure to see [contributing.md](/contributing.md) for instructions on contributing to the project!
|
||||||
|
|
||||||
<!--Languages start-->
|
<!--Languages start-->
|
||||||
## Languages (946 total)
|
## Languages (947 total)
|
||||||
|
|
||||||
* [!](%23/%21)
|
* [!](%23/%21)
|
||||||
* [!@#$%^&*()_+](%23/%21%40%23%24%25%5E%26%E2%88%97%28%29_%2B)
|
* [!@#$%^&*()_+](%23/%21%40%23%24%25%5E%26%E2%88%97%28%29_%2B)
|
||||||
@@ -254,6 +254,7 @@ Make sure to see [contributing.md](/contributing.md) for instructions on contrib
|
|||||||
* [ContinuesEquation](c/ContinuesEquation.ce)
|
* [ContinuesEquation](c/ContinuesEquation.ce)
|
||||||
* [Control Language](c/Control%20Language.cllc)
|
* [Control Language](c/Control%20Language.cllc)
|
||||||
* [Cool](c/Cool.cl)
|
* [Cool](c/Cool.cl)
|
||||||
|
* [Coq](c/Coq.v)
|
||||||
* [Cor](c/Cor.cor)
|
* [Cor](c/Cor.cor)
|
||||||
* [Coral 66](c/Coral%2066.cor)
|
* [Coral 66](c/Coral%2066.cor)
|
||||||
* [COW](c/COW.cow)
|
* [COW](c/COW.cow)
|
||||||
|
|||||||
Reference in New Issue
Block a user