Files
el/ide/projects/hello-friends/src/main.el
Will Anderson dc4a9ee95f El IDE: rounds 14-20 — breadcrumb nav, version display, improved search, sticky scroll, status bar diagnostics
Round 14: Breadcrumb directory click — clicking a path segment in the breadcrumb expands/reveals that directory in the file tree
Round 15: El version in status bar — GET /api/status now returns el_version (via el --version), shown in status bar right side; EL_BINARY config env var
Round 16: Search improvements — case-sensitive, whole-word, regex toggles (Alt+C/W/R); project-wide replace-all in current file; backend SearchOpts struct for each mode
Round 17: Sticky scroll improvements — uses CM6 posAtCoords for accurate first-visible-line; clickable to jump to definition; sticky-name/sticky-goto styling
Round 18: File tree header — New File (+) button and Refresh (↺) button in file tree header panel
Round 19: Status bar diagnostics — error count (✕ N) and warning count (⚠ N) shown in status bar, clickable to jump to problems panel
Round 20: Polish — more El snippets (test, seed, assert, activate, parallel, deploy, import, with, retry, reason, trace), expanded command palette (11 new commands)
2026-04-29 04:38:53 -05:00

22 lines
579 B
EmacsLisp

// Hello, Friends first Engram program
// Written for Beth, Tim, and Matt on April 28, 2026.
// This is what it looks like to write in a language
// that runs inside an intelligent system.
fn greet(name: String) -> String {
return "Hello, " + name + ". Good to have you here."
}
fn main() -> Void {
let friends = ["Beth", "Tim", "Matt"]
for friend in friends {
let message = greet(friend)
print(message)
}
print("")
print("Engram is the language of the engine room.")
print("You are standing at the edge of something real.")
}