profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/flyx/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
flyx flyx Stuttgart, Germany https://flyx.org Parsing. Compiling. Pen & Paper. Stuff.

flyx/NimYAML 121

YAML implementation for Nim

flyx/emerald 93

HTML5 templating engine for Nimrod

flyx/OpenGLAda 73

Thick Ada binding for OpenGL and GLFW

flyx/OpenCLAda 15

An Ada binding for the OpenCL host API

flyx/DSA-LaTeX 10

LaTeX-Klasse und Dokumente für Das Schwarze Auge

flyx/ParserTools 6

tools for writing lexers / parsers in Ada

flyx/ada-bundler 5

Library and tool for transparently handling data and configuration file access in an Ada application. Supports MacOSX, Linux and Windows.

flyx/DSA-4.1-Heldendokument 4

Konfigurierbares Heldendokument für DSA, basierend auf LuaLaTeX.

flyx/gps-osx 4

Native GNAT Programming Studio for OSX

flyx/OpenGLAda-examples 4

Examples for OpenGLAda

issue commentflyx/NimYAML

Strange compiler error, representChild(value[], ts, c) can raise

The raise annotations are still somewhat quirky as they predate Nim's Errors/Defects distinction, but your problem should be fixed now.

StefanSalewski

comment created time in 13 days

issue closedflyx/NimYAML

Strange compiler error, representChild(value[], ts, c) can raise

As I had some trouble with Nim JSON and tuples, I tried again your YAML.

With recent Nim compiler and @#head version of your YAML:

I just noted that JSON works with array instead of tuple, but your Yaml gives even with array that strange compiler error:

#import json, marshal
import yaml/serialization, streams
type
  #V2 = tuple[x, y: float]
  V2 = array[2, float]
  
type
  Element = ref object of RootRef
    # style: Styles
    p: seq[V2]
    at: seq[Text] # attached text
    hover: bool
    selected: bool
    gx, gy: int # text grab
    isNew: bool

# type
  Text = ref object of Element
    text: string
    parent: Element # new, for easy reattaching, and maybe a graphical parent indication (arrow)
    detached: bool # maybe with new parent field this boolean is redundant. 
    sizeInPixel: bool

type
  Line = ref object of Element

type
  Trace = ref object of Element

type
  Rect = ref object of Element

type
  Circ = ref object of Element

type
  Pad = ref object of Element
    cornerRadius: float

type
  Path = ref object of Element

type
  Pin = ref object of Element

type
  Group = ref object of Element
    lines: seq[Line]
    circs: seq[Circ]
    texts: seq[Text]
    rects: seq[Rect]
    pads: seq[Pad]
    paths: seq[Path]
    pins: seq[Pin]
    traces: seq[Trace]
    
proc main =
  discard
  var g = Group()
  var l = Line()
  l.p.add([1.0,2.0])

  #echo marshal.`$$`(g)
  #echo ""
  #echo json.pretty(json.`%*`(g))
  var s = newFileStream("out.yaml", fmWrite)
  dump(g, s)
  s.close()

main()
$ nim c jmom.nim 
Hint: used config file '/home/salewski/Nim/config/nim.cfg' [Conf]
Hint: used config file '/home/salewski/Nim/config/config.nims' [Conf]
.................................................................................................
/home/salewski/SDTold/jmom.nim(67, 7) template/generic instantiation of `dump` from here
/home/salewski/.nimble/pkgs/yaml-#head/yaml/serialization.nim(1417, 25) template/generic instantiation of `represent` from here
/home/salewski/.nimble/pkgs/yaml-#head/yaml/serialization.nim(1394, 17) template/generic instantiation of `representChild` from here
/home/salewski/.nimble/pkgs/yaml-#head/yaml/serialization.nim(1308, 20) template/generic instantiation of `representObject` from here
/home/salewski/.nimble/pkgs/yaml-#head/yaml/serialization.nim(981, 21) template/generic instantiation of `genRepresentObject` from here
/home/salewski/.nimble/pkgs/yaml-#head/yaml/serialization.nim(970, 25) template/generic instantiation of `representChild` from here
/home/salewski/.nimble/pkgs/yaml-#head/yaml/serialization.nim(1248, 18) template/generic instantiation of `representObject` from here
/home/salewski/.nimble/pkgs/yaml-#head/yaml/serialization.nim(440, 19) template/generic instantiation of `representChild` from here
/home/salewski/.nimble/pkgs/yaml-#head/yaml/serialization.nim(1308, 20) template/generic instantiation of `representObject` from here
/home/salewski/.nimble/pkgs/yaml-#head/yaml/serialization.nim(981, 21) template/generic instantiation of `genRepresentObject` from here
/home/salewski/.nimble/pkgs/yaml-#head/yaml/serialization.nim(970, 25) template/generic instantiation of `representChild` from here
/home/salewski/.nimble/pkgs/yaml-#head/yaml/serialization.nim(75, 15) template/generic instantiation from here
/home/salewski/.nimble/pkgs/yaml-#head/yaml/serialization.nim(1252, 41) Error: representChild(value[], ts, c) can raise an unlisted exception: YamlStreamError

closed time in 13 days

StefanSalewski

push eventflyx/NimYAML

Felix Krause

commit sha 10cc4d30269125d3dddfdce99b0015b4f69edf15

repaired raise annotations in serialization. Fixes #99

view details

push time in 13 days

issue commentflyx/TeX.novaextension

syntax highlighting: URL underlining scope

This seems to happen because 2 is highlighted as a number and therefore breaks Nova's URL detection. Currently, \url \href etc are not specifically recognized by the grammar. There are two possible ways to fix your issue:

  • recognize URL-carrying commands and disable number highlighting there
  • disable number highlighting outside math mode if number is without unit (em/ex/cm etc).

The second option seems to be the better one since the current feature of number highlighting hits a high number of false positives (any decimal digit in text basically). However 2em in an URL will then still stop URL recognition, so ideally both tasks should be implemented.

I'll look into this in the coming days.

chreliot

comment created time in 17 days

push eventflyx/TeX.novaextension

Felix Krause

commit sha 72605d190bf0cc1c73ef25f5945e6c37545ba7b9

+docs

view details

push time in a month

push eventflyx/TeX.novaextension

Felix Krause

commit sha 98cd97b7c3e752c78e32ba9b002c01c7365a9b00

completions; fixed several problems

view details

push time in a month

create barnchflyx/TeX.novaextension

branch : master

created branch time in a month

created repositoryflyx/TeX.novaextension

Nova support for TeX, LaTeX and ConTeXt

created time in a month

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha 5b0048957cadf04c3edda81066ded5687b5d0957

Verschiedene Probleme bei Dämonisch- und Elementar-Merkmalen behoben

view details

push time in a month

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha 5b155a1ec43b48bbdd94e8088972a1c5352f1dc9

Docker gefixt. Import von Magiern gefixt.

view details

push time in a month

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha e9d2d1fbf60cdf6b7fbbf2ea73c1f932cfd759c9

Server multithreading. Besserer Fortschritt. Fixes.

view details

push time in a month

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha 337549ade2de54f69d429b8f6ddf4f0bbffb069d

Schutz gegen böswillige Eingaben

view details

push time in a month

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha d4cb9d63bdcf461d9b7525de8033a094b87fb570

hübscheres Web-Interface

view details

push time in a month

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha 9301d4e03ec0ab4659520481f1a38d0d76fb0275

Man darf jetzt eine Rüstung tragen ohne Rüstungsgewöhnung zu haben.

view details

push time in a month

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha d4f1b432bfcae988156f0f2fbcdba08211fa5e01

Rudimentärer Import von Mirakel+/Mirakel- für Geweihte

view details

push time in 2 months

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha 3aa649aaa50f2575139ee1de770142bcac731288

Zeilenumbrüche für Talentspezialisierungen

view details

push time in 2 months

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha e22d237c8c9eb5de0495198214aeba37e20979ee

Import: Finde Leiteigenschaft heraus

view details

push time in 2 months

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha 98e059503d5872a6f1267b3f70f78c675da2cd20

Berechne AsP-Regeneration automatisch

view details

push time in 2 months

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha 02b889a5b983edc7908cc7911ac0819530f89c39

AAAH wo ist das Stylesheet AAAH

view details

push time in 2 months

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha 17b93f55990f12e86611eae7f3c45d263fd97fae

Beispiele für alles

view details

push time in 2 months

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha 4dfb6d9cf78fb64340adeea56ab8268d82a85bca

doofe Typen bei Ritual weg, weniger doofe Typen hin

view details

push time in 2 months

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha b98fbe9cb39c7ae3802dab4155e7d2cd8027b49a

Kompatibilität mit neuerer nicematrix-Version

view details

push time in 2 months

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha 8998b9b0341a13df2a2ce1dda53b57969f90c0da

Mehr Doku

view details

push time in 2 months

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha e1aea55631adc32b8a4ffde379d65ccf808f4691

Doku neu, MapToFixed weg weil doof

view details

push time in 2 months

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha 1f1547e528d7baf4eec62c5d06efca6d2beaaf91

Refactoring, bessere Doku

view details

push time in 2 months

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha 99edf6c521ec36e764dbae037176c469e436e1b9

Schilde -> SchildeUndParierwaffen; Fixes Rüstung

view details

push time in 2 months

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha cb9a2b938e10199e4ff27745a38c6f4853062d62

Steigerung ZfW und TaW direkt bei Aktivierung

view details

push time in 2 months

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha be2c34d58e8162becfce21d7b478f6991d7190eb

Fixes Aktivierungen, Verbesserung Sortierung

view details

push time in 2 months

push eventflyx/DSA-4.1-Heldendokument

Felix Krause

commit sha cee43d8f0706949c6bd1062011cf30e888c3d645

Import Meisterhandwerk

view details

push time in 2 months