Skip to content

HeylelOS/HeylelCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HeylelCore

Heylel Core library. Contains structures and classes to create simple RunLoops and manage a file descriptor-based program lifetime.

HeylelCollections

First Module, contains a few Collections with copy on write semantics, not in the Swift Standard Library:

  • PriorityQueue
  • Queue (FIFO)
  • Stack (Wrapper around a ContiguousArray)

And some useful property wrappers:

  • Box (Reference to a struct or another type)
  • CopyOnWrite (Reference only updated after first mutation)

HeylelCore

Contains a RunLoop, and protocols for classes interacting with it.

  • RunLoop: Class representing a program runloop, it interacts with Timers, InputHandlers and OutputHandlers
  • InputHandler/OutputHandler: Object protocols to define interation for a file descriptor inside a RunLoop
  • Timer: Object protocol to define a time-based interaction with a RunLoop.
  • FileProtocol: Object Protocol representing a file, could be used in addition to an InputHandler to create a RunLoopPlugIn.
  • SystemError: Equatable Error structure used to represent system errors.
  • FilePath: Enumration used as a namespace to access usual system paths such as tu user home directory.

HeylelNetwork

Facilities to create sockets through FileDescriptors.

Releases

No releases published

Packages

No packages published

Languages