GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - JarnaChao09/Koffect: A context-oriented programming language with support for multiple programming paradigms with a focus on context oriented programming.

BranchesTags
Open more actions menu

Latest commit

 

History

214 Commits
214 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
CS5001&CS5002
CS5001&CS5002
 
 
design_notes
design_notes
 
 
gradle/wrapper
gradle/wrapper
 
 
src
src
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
build.gradle.kts
build.gradle.kts
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle.kts
settings.gradle.kts
 
 

Repository files navigation

Koffect Programming Language

  • Koffect Programming Language
    • Koffect
    • Language Goals
    • How to Install
      • Build from Source
    • How to Use
    • Syntax Examples
    • Feature List
    • Inspirations / Prior Arts / Similar Features

Koffect

Welcome to Koffect!

A research language focusing on the applications of context-oriented/context-aware programming to general purpose programming. From applications of contextual rigor (such as mathematical proof writing), to resource management (such as opening and closing files/connections/sockets), to domain specific languages, programming contains a lot of implicit contexts and mental context management. This project aims to create a language around the concept of explicit contexts to reduce the mental gymnastics and boilerplate needed to maintain context dependent code.

Language Goals

The goal of this language is to research and implement a general purpose programming language specializing in context-oriented programming.

Some areas of focus that this project hopes to tackle are:

  • The application of context-oriented programming to tackle metaprogramming challenges
  • The application of context-oriented programming to ensure code correctness, through the modelling of context dependent fields such as mathematical correctness or asynchronous code
  • The application of context-oriented programming to model real world contextual dependent situations in code with minimal boilerplate
  • The application of context-oriented programming to the creation and modelling of domain specific languages

How to Install

Build from Source

TODO: Gradle scripts not finalized

How to Use

TODO: Gradle scripts not finalized

Syntax Examples

TODO: Finalization of language in progress

Feature List

TODO: Finalization of language in progress

Inspirations / Prior Arts / Similar Features

  • Effects Bibliography
    • Collection of relative literature applying to algebraic effects (and coeffects by proxy)
  • Koka
    • Language implementing algebraic effect handlers with lexical effect tracking
  • Eff
    • Language implementing algebraic effect handlers working on general first-class computational effects
  • Effekt
    • Language implementing algebraic effect handlers with effect safety and effect polymorphism following Scala syntax
  • Coeffect
    • Language implementing algebraic coeffects through implicit parameters
  • Flix
    • Language implementing algebraic effect handlers with effect polymorphism, effect exclusion, and associated effects targeting the JVM
  • OCaml Multicore
    • Ocaml 5.0 Multicore added unchecked effect handlers for concurrent programming
  • Kotlin Context Receivers
    • Kotlin 1.6.20 added experimental support for functions with multiple receivers, also coined as context receivers
    • Kotlin updated the design proposal to Context Parameters
  • Scala contextual/implicit parameters
    • Scala 2 has contextual/implicit parameters which were later refined in Scala 3 to use the using/given syntax
  • Haskell implicit parameters
    • Haskell implements implicit parameters as part of type system leading to full type system security with implicit parameters
  • Python Context Managers
    • Python implements context handlers with the __enter__ and __exit__ methods to model runtime defined contexts
  • Ruby Refinements
    • Ruby implements lexical monkey patching (introduction of a context into a scope) with refinements
  • Javascript Explicit Resource Management
    • Javascript TC39 proposal (currently) in stage 3 of adding resource managers using the using keyword and Symbol.dispose method
  • C# using and IDisposable
    • C# resource management through the use of the IDisposable interface and using keyword
  • Java try-with-resource and AutoCloseable
    • Java resource management through the use of the Closeable and AutoCloseable interfaces with the try keyword

About

A context-oriented programming language with support for multiple programming paradigms with a focus on context oriented programming.

Resources

Readme
GPL-3.0 license
Activity

Stars

16 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.