Skip to content

The development project of the Contextual Programming SDK (C#), an SDK to enable programming in the Contextual Programming paradigm.

License

Notifications You must be signed in to change notification settings

lstertz/ContextualProgramming

Repository files navigation

Contextual Programming SDK

The development project of the Contextual Programming SDK (C#), an SDK to enable programming in accordance to the Contextual Programming paradigm. Current functionality is limited to behaviors that create their own dependencies (contexts), behaviors that depend upon the contexts created by other behaviors, and behaviors that perform operations for specified context state changes.

The Contextual Programming Paradigm

Contextual Programming is a programming paradigm that focuses on coding from the perspective of 'when'.

Code systems are organized around behaviors, their operations, and contexts. Compositions are defined by the shared dependencies (contexts) of behaviors. Relationships are dynamic and determined by the state of the application, as defined by the contexts. Functionality therefore is performed by the qualifying operations of active behaviors based on the current state of existing contexts.

How to Use

Behaviors and contexts are defined by attributes decorating classes that should take on those roles. The default attributes are 'Behavior' and 'Context'.

Refer to the Concepts project for details of how to use each of the attributes, as well as for samples of generalized constructs and functionality.

Refer to the Showcase project for an example implementation.

Release

The latest release is 1.1.1 (03/07/2022), available on NuGet.

Follow Us

About

The development project of the Contextual Programming SDK (C#), an SDK to enable programming in the Contextual Programming paradigm.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages