Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ivo-balbaert/cone_examples

A collection of working Cone programs
https://github.com/ivo-balbaert/cone_examples

Last synced: 11 days ago
JSON representation

A collection of working Cone programs

Awesome Lists containing this project

README

        

This repo contains a collection of working [Cone](https://cone.jondgoodwin.com/) programs.

They are mainly extracted from the Cone [Reference](https://cone.jondgoodwin.com/coneref/index.html) and [PlayGround](https://cone.jondgoodwin.com/play/index.html), adding others and new variations.

They are divided by chapter:
(TBI = To Be Implemented)
- ch2 - Installation-Compiler-Dev environment
- ch3 - Basics
- ch4 - Functions
- ch5 - Control Flow
- ch6 - Using C From Cone
- ch7 - Concrete Data Types: tuples - arrays -slices -structs
- ch8 - Methods
- ch9 - Permissions - References - Regions
- ch10 - Collection Types (TBI): enums - unions - array references - Vec - HashMap
- ch11 - Traits
- ch12 - Typedef - Macros - Metaprogramming
- ch13 - Modules - Namespaces

All examples where compiled and tested on Windows 11 / Ubuntu 20.
(Cone version: 2022 Jan 30 - v 0.1.0)

The script compexec_all.sh can be used to compile and execute all programs.

![](images/pegicon.png)