MarthinL

MarthinL

Follks,

I needed a reliable way to extract complete IDEF0 Models out of an AI0 Neutral Text file, and ended up with one using NimbleParsec that loads the whole thing and currently prints it as JSON.

Since I believe there is life in IDEF0 models yet, especially with modern web-based tooling that takes all of the manual diagram drawing off the table, I’ve published the parser as a seed project on GitHub, for discussion and exploration of the topic.

Take a look at my AI0 / IDEF0-parser project if you’re even remotely interested in to domain. I’d love to discuss it with others. It’s embryonic, almost all, with the documentation was generated to address an urgent need, but behind it all there is a very human mind and vision - mine, and you’re invited to be part of that.

AI0 Parser

A comprehensive Elixir parser for IDEF0 AI0 neutral text format files, converting legacy IDEF0 models to structured JSON and Elixir data structures.

Overview

This tool parses IDEF0 AI0 text files (as exported from tools like KBSI’s AI0Win) and converts them into clean, structured Elixir maps and JSON output. It’s designed to preserve complete model fidelity while enabling modern workflows for IDEF0 documentation and governance.

Current Status: Parser is fully functional with configurable output filtering. Unparser (reverse conversion) is planned for future phases to enable complete round-trip workflows.

Context

IDEF0, despite being deprecated as a federal standard, remains genuinely useful for hierarchical activity modeling and complex system analysis. With KBSI’s tooling unmaintained and no modern alternatives, this project addresses the Got a p

  1. Immediate use case: Converting legacy AI0Win-exported files to JSON for documentation and governance
  2. Long-term vision: Foundation for a modern web-based IDEF0 modeller (leveraging HTML5 grid layout advantages over legacy Java/SVG approaches)

Features

Current Capabilities

  • Complete AI0 parsing: All IDEF0 elements (activities, concepts, diagrams, ICOM lists, hierarchies)
  • Structured output: Pools (ID-keyed maps) and Lists (flat arrays) with preserved ordering
  • Flexible filtering:
    • --no-abc: Exclude ABC Data and Objects in ABC list
    • --no-prop: Exclude Property List fields
    • Both flags can be combined
  • JSON export: Pretty-printed JSON for integration into documentation systems
  • Elixir-first: Internal representation as Elixir maps/lists, JSON is secondary export format

Planned Capabilities

  • Unparser: Regenerate AI0 TXT format from Elixir/JSON structures
  • Format validation: Ensure generated files meet AI0 specification
  • Web modeller: HTML5-based IDEF0 diagram editor (long-term)

MarthinL

https://github.com/MarthinL/idef0-parser

Where Next? Top

Trending in Announcing Top

woylie
Flop is an Elixir library that applies filtering, ordering and pagination parameters to your Ecto queries. offset-based pagination with...
New
MRdotB
I needed to reuse React components from my Chrome extension in my Phoenix/LiveView backend. I noticed that for Svelte/Vue, there are live...
New
woylie
I released Doggo, a collection of unstyled Phoenix components. https://github.com/woylie/doggo Features Unstyled Phoenix components....
New
GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
anuaralfetahe
Hello Published a new library - ProcessHub! ProcessHub is a library designed to manage process distribution within the Elixir cluster. ...
New

Other Trending Topics Top

mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
AstonJ
This showed up on my feed.. anyone heard of it? Just hype? Ox Alpha is a reasoning model designed for coding, sustained ag...
New
bartblast
Hey folks, I just published a post about Hologram’s funding and where the project goes next - the short version: Curiosum as Main Spons...
New
CodeSync
:microphone: ElixirConf 2026 - Call for Talks is open! We’re heading to Chicago :united_states: :round_pushpin: In person + virtual :d...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews