Skip to content

Ivo-Balbaert/Cone_examples

Repository files navigation

This repo contains a collection of working Cone programs.

They are mainly extracted from the Cone Reference and PlayGround, 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.

About

A collection of working Cone programs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published