2026-05-11 21:14:52 +10:00
2026-05-04 20:03:29 +10:00
2026-04-27 18:25:30 +10:00
2026-05-11 21:14:52 +10:00
2026-05-05 20:09:14 +10:00
2026-04-27 14:07:29 +10:00
2026-05-06 13:27:58 +10:00
2026-05-10 21:24:17 +10:00
2026-05-09 19:50:00 +10:00
2026-05-10 13:52:52 +10:00

Comet comet logo

Comet is a fast, compiled programming built on top of C and LLVM. It has an enormous feature list, including:

  • Classes (called structs)
  • Templates
  • Runtime exceptions
  • Inline functions
  • A system for casting values from one type to another
  • An attribute system for templates
  • Inheritance
  • Imports and a package system (no more C-style header files!)
  • An extensive standard library that handles memory management for you

Completed Features

  • Variables
  • Loops
    • While loops
    • For loops
  • Standard library
    • IO - Input/Output
      • Printing
      • File IO
    • Collections - data structures
      • List
      • Hashmap
    • Memory - manual memory management
    • Ansi - ANSI colour codes
    • String - string handling and management
  • Imports
    • Package system
    • Package manager
  • Functions
    • Returning
    • Inline functions
  • Structs
    • Struct definition
      • Fields
        • Private/protected/readonly
        • Default values
        • Accessing / setting fields
      • Methods
      • Constructor
      • Destructor
    • "new" keyword
    • Calling methods
    • Inheritance
    • Templates
      • Template attributes
  • Command line args
  • Exceptions
    • Throw exceptions
    • Catch exceptions

Compiling

Just run make in the root of the repo. This will create the cometc executable. If you want a debug build, run make debug. Debug builds include the address sanitizer for tracking down segfaults.

Description
An object orientated programming language designed to fix the problems with other languages. All of this compiled with LLVM.
https://chsp.au/Comet/Comet/index.html
Readme GPL-3.0 1.5 MiB
Languages
C 84%
HTML 11%
CSS 4%
Python 0.7%
Makefile 0.3%