Skip to content

Instantly share code, notes, and snippets.

View erolm-a's full-sized avatar

Enrico Trombetta erolm-a

View GitHub Profile
@erolm-a
erolm-a / flake.nix
Created January 20, 2025 04:21
PoC of JAX, PyQt, numpy, tensorboard etc. in nix
{
description = "Dingo project";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
pyproject-nix = {
url = "github:pyproject-nix/pyproject.nix";
inputs.nixpkgs.follows = "nixpkgs";
};
#!/usr/bin/python3
# -*- coding: utf-8 -*-
# Copyright (C) Enrico Trombetta 2020
# License: MIT
"""
This module parses an input file for a UV DLP 3D printer driver.
Parsing is performed thanks to parsec.py library, which made parsing
this DSL (frankly speaking one of the worst kind) a pretty funny experience.