SCYLA Programming Language
==========================
The governance layer that is native to code.

Version: April 2026
Patent pending: 64/034,536
License: Apache 2.0 (compiler + stdlib)

Marjorie McCubbins + Aislinn McCubbins + Aether
Nexus Concordat LLC


QUICK START
-----------
1. Double-click install.bat (or run it from Command Prompt)
2. Open a NEW Command Prompt or PowerShell
3. Try these commands:

   scylac repl                          -- Interactive REPL
   scylac run examples\hello.sy         -- Run a program
   scylac lex examples\hello.sy         -- View tokens
   scylac run examples\insulin_molecular_weight.sy  -- Compute insulin MW


WHAT'S INCLUDED
---------------
bin\scylac.exe         -- The Scyla compiler (cross-compiled from Rust)

stdlib\                -- 77 standard library modules
  -- MATH & PHYSICS --
  math.sy              -- Constants, number theory, statistics, CODATA
  calculus.sy           -- Derivatives, integrals, Taylor series
  diffeq.sy             -- ODE/PDE solvers, biological models (RK4, SIR, PK)
  periodic.sy           -- 118 elements (IUPAC 2023 atomic weights)
  acid_base.sy          -- pH, buffers, ABG values

  -- MOLECULAR BIOLOGY --
  amino_acids.sy        -- 20 amino acids with residue masses
  codons.sy             -- 64 codons, transcription, translation
  nucleosides.sy        -- Bases, nucleosides, nucleotides (ATP, NAD+)
  dna_replication.sy    -- Replication enzymes, fork mechanics
  trna.sy               -- Aminoacyl-tRNA synthetases, translation cycle
  supercoiling.sy       -- DNA topology, topoisomerases
  epigenetics.sy        -- Histone marks, cortisol cascades
  gene_regulation.sy    -- Promoters, enhancers, splicing, CRISPR
  human_proteome.sy     -- ALL 20,431 SwissProt reviewed human proteins

  -- CELL BIOLOGY --
  organelles.sy         -- 16 organelles
  mitosis.sy            -- Cell cycle, checkpoints, cancer
  membrane_potential.sy -- Ion channels, action potential phases
  glycolysis.sy         -- 10 steps, insulin signaling
  mitochondria.sy       -- ETC, TCA cycle, ATP synthase
  apoptosis_biology.sy  -- Intrinsic/extrinsic pathways, caspases

  -- METABOLISM --
  lipid_metabolism.sy   -- Beta-oxidation, cholesterol, lipoproteins
  amino_acid_metabolism.sy -- Urea cycle, one-carbon metabolism

  -- PHYSIOLOGY --
  endocrine.sy          -- All hormones, glands, HPA/HPT/HPG axes
  hematology.sy         -- Coagulation cascade, hemoglobin, blood types
  renal.sy              -- Nephron, GFR, RAAS, diuretics
  neurotransmitter_pathways.sy -- DA, 5HT, NE, ACh, GABA, glutamate

  -- MICROBIOLOGY --
  prokaryotes.sy        -- Gram staining, binary fission, antibiotics
  sars_cov2.sy          -- COVID-19 virology
  pcr.sy                -- PCR/RT-PCR/qPCR, primer design

  -- IMMUNOLOGY --
  immune_system.sy      -- Innate + adaptive immunity, antibodies

  -- LINGUISTICS --
  phonemes.sy           -- 44 English IPA phonemes
  parts_of_speech.sy    -- 10 POS categories

  -- CRYPTO (Aislinn) --
  crypto\cardea.sy      -- Cardea cryptographic primitives
  crypto\bitops.sy      -- Bitwise operations
  crypto\dna.sy         -- DNA-based encoding
  crypto\fieldq.sy      -- Finite field arithmetic
  crypto\shake_stream.sy -- SHAKE streaming hash
  crypto\ct_ops.sy      -- Constant-time operations

  -- NEXUS API (Aislinn) --
  nexus\api.sy          -- Nexus Code API
  nexus\hormones.sy     -- Hormone system interface
  nexus\memory.sy       -- Memory system
  nexus\tools.sy        -- Tool definitions

examples\              -- 102 example programs
  hello.sy              -- Hello world
  insulin_molecular_weight.sy -- Compute insulin MW from periodic table
  hh_test.sy            -- Hodgkin-Huxley simulation
  neural_net.sy         -- Neural network
  silkie_*.sy           -- Silkie AI training examples
  lair*.sy              -- Lair game examples
  ... and 90+ more


WRITING YOUR FIRST PROGRAM
---------------------------
Create a file called myprogram.sy:

    use periodic::*
    use math::*

    fn main() {
        let h = element("hydrogen")
        print(h.name)
        print(h.atomic_mass)

        let p = PI()
        print(p)

        let fib = fibonacci(10)
        print(fib)
    }

Run it:
    scylac run myprogram.sy


IMPORT SYNTAX
-------------
    use periodic::*              -- Import everything from periodic.sy
    use math::{PI, factorial}    -- Import specific items
    use crypto::cardea::*        -- Import from subdirectory


SUPPORT
-------
Website: https://scyla.nexusconcordat.com
Reference: https://scyla.nexusconcordat.com/reference/
Corporate: https://nexusconcordat.com
