Safire language

Readable source for business applications, classes and targets.

Safire source is designed to describe business systems directly: applications, windows, controls, reports, tables, queries, procedures, classes, mappers, business objects, web components, help and deployment metadata.

Language personality

  • Named blocks such as Application, Window, Table, Query, Report, Procedure, Class, Interface, WebPage, Component, Help and Configuration.
  • Source-first declarations that are readable, diffable and recoverable outside the IDE.
  • Procedures and procedure groups remain useful for business routines and utilities.
  • Classes are intended for forms, reports, services, repositories, business objects, web components and threaded workers.
  • Typed data declarations support compiler, IDE, binding, reports, AI analysis and deployment planning.

Small source example

class CustomerService extends BusinessServiceBase
  public event Saved(customer as Customer)

  public method Save(customer as Customer) as bool
    if customer.Email = ""
      LastError = "Email is required"
      return false
    end if
    CustomerRepository.Save(customer)
    raise Saved(customer)
    return true
  end method
end class
Language concepts

Safire now has a broader business-language surface.

Procedures

Simple business logic, utility functions, event handlers and legacy-friendly procedure groups.

Classes

Constructors, destructors/Dispose, methods, properties, visibility, static members, inheritance, interfaces and events.

Object transfer

Table row to class, class to table row, class to JSON, JSON to class, form buffer mapping and class-list grid binding.

Runtime objects

Timer, email, FTP, JSON, CSV, INI, certificate and code-signing objects with main/worker thread rules.

Web and service syntax hooks

  • Web app/server declarations.
  • REST API declarations.
  • Safire-authored web pages and components.
  • Browser event queue and dynamic binding model.
  • SOAP and WebSocket target hooks.

Project and build syntax hooks

  • Multiple named configurations.
  • Artifact target membership.
  • Runtime profiles, distribution profiles and signing profiles.
  • Help artifacts and context IDs.
  • Target-aware artifact resolver and diagnostics model.
Current language integration

Source contracts are being connected to compiler, VM and IDE hooks.

The current integration baseline adds grammar registry entries, semantic model contracts, diagnostics, target-aware artifact resolution, object lifecycle hooks, method/property/event dispatch contracts, thread-affinity enforcement hooks and IDE nodes/panels/actions for the new source types.

Safire Language Reference guide cover

Safire Language Reference

Updated alpha guide covering Safire language syntax, source-first structure, statements, procedures, classes, runtime objects and application patterns.

Alpha PDF67 pages
Open PDF
Safire Windows and Controls guide cover

Windows and Controls Reference

Alpha guide for windows, controls, properties, metadata, events, bindings and practical usage patterns.

Alpha PDF31 pages
Open PDF
Safire Database System guide cover

Safire Database System

Alpha guide for database files, dictionaries, records, queries, forms, maintenance, backup and restore-preview workflows.

Alpha PDF31 pages
Open PDF

Explore Safire. Review the docs. Shape what comes next.

Safire is in active Version 1 development. The best reviewers are experienced business software developers who know the cost of fragile tools, hidden metadata and uncontrolled AI edits.

Request Preview Access