Skip to content
This repository was archived by the owner on Jun 30, 2026. It is now read-only.

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Lamo Packet Manager

lampm is a small package manager for Lamo projects. It installs libraries from GitHub into a local project folder so they can be imported by today’s relative import "file.lamo"; workflow.

What It Does

  • creates a project manifest with lampm init
  • records dependencies in lamo.pkg
  • installs GitHub repositories into lamo_modules/
  • updates installed libraries with lampm install
  • removes local packages and manifest entries with lampm remove

This is a vendoring-style package manager for the current compiler. It does not yet teach lamo new import syntax or global package resolution.

Build

make

On Windows with GCC directly:

gcc -Wall -Wextra -std=c99 src/main.c -o lampm.exe

Commands

Initialize a project:

lampm init my-app

Add a GitHub library:

lampm install owner/repo
lampm install owner/repo myalias

Reinstall or update everything from the manifest:

lampm install

List recorded dependencies:

lampm list

Remove a dependency:

lampm remove myalias

Manifest Format

lampm writes a simple manifest named lamo.pkg:

name = my-app
packages_dir = lamo_modules

[dependencies]
math = someone/lamo-math

Using Installed Libraries In Lamo

If a package installs a main.lamo file into lamo_modules/math/, you can import it with the current compiler using a relative path:

import "lamo_modules/math/main.lamo";

Because the current compiler resolves imports relative to the importing file, nested source folders may need paths like:

import "../lamo_modules/math/main.lamo";

Notes

  • Git must be installed and available on your PATH.
  • Repositories are installed from https://github.com/<owner>/<repo>.git.
  • Right now dependencies track the repository head. Version pinning can be added later.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages