Benutzer-Werkzeuge

Webseiten-Werkzeuge


cocoaheads:ragel

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
cocoaheads:ragel [2017/07/20 22:57] – [Vielen Dank] mrococoaheads:ragel [2021/02/01 11:37] (aktuell) – [Beispiel: SVG Path Parser] mro
Zeile 55: Zeile 55:
  * Experiment ob SVG ([[http://www.w3.org/TR/SVG11/paths.html#PathDataBNF|Path Syntax!]]) als Speicherformat für [[:jugm:p2d|piccolo2d.org, eine Java 2D Scenegraph API]] taugt. Dann könnten Designer die Screens direkt mit Illustrator oder Inkscape bauen. [[https://github.com/piccolo2d/piccolo2d.java/blob/svg/svg/src/main/ragel/PathParser.rl|Ergebnis: evtl.]],  * Experiment ob SVG ([[http://www.w3.org/TR/SVG11/paths.html#PathDataBNF|Path Syntax!]]) als Speicherformat für [[:jugm:p2d|piccolo2d.org, eine Java 2D Scenegraph API]] taugt. Dann könnten Designer die Screens direkt mit Illustrator oder Inkscape bauen. [[https://github.com/piccolo2d/piccolo2d.java/blob/svg/svg/src/main/ragel/PathParser.rl|Ergebnis: evtl.]],
  * iPhone App soll ca. 500K einfaches XML schneller als [[http://developer.apple.com/library/ios/#documentation/Cocoa/Reference/Foundation/Classes/NSXMLParser_Class/Reference/Reference.html|NSXMLParser]] parsen (14 Sec.). Ergebnis: 0.3 Sec.  * iPhone App soll ca. 500K einfaches XML schneller als [[http://developer.apple.com/library/ios/#documentation/Cocoa/Reference/Foundation/Classes/NSXMLParser_Class/Reference/Reference.html|NSXMLParser]] parsen (14 Sec.). Ergebnis: 0.3 Sec.
 +
 == Anschnallen: Die Bausteine == Anschnallen: Die Bausteine
  
Zeile 73: Zeile 74:
  
  * [[http://www.w3.org/TR/SVG11/paths.html#PathDataBNF|Grammatik beim W3C]]  * [[http://www.w3.org/TR/SVG11/paths.html#PathDataBNF|Grammatik beim W3C]]
- * [[https://github.com/mro/MROGeometry/blob/master/MROGeometry/PathParser.rl|Ragel Input]] + * [[https://codeberg.org/mro/MROGeometry/src/branch/master/MROGeometry/PathParser.rl|Ragel Input]] 
- * [[https://github.com/mro/MROGeometry/blob/master/MROGeometry/PathParser.m|Ragel Output (Objective C)]]+ * [[https://codeberg.org/mro/MROGeometry/src/branch/master/MROGeometry/PathParser.m|Ragel Output (Objective C)]]
  * {{:cocoaheads:pathparser.pdf|Ragel Output (Zustandsautomat PDF)}}  * {{:cocoaheads:pathparser.pdf|Ragel Output (Zustandsautomat PDF)}}
  
Zeile 83: Zeile 84:
  
  * [[http://www.w3.org/TR/REC-xml/#NT-document|Grammatik beim W3C]]  * [[http://www.w3.org/TR/REC-xml/#NT-document|Grammatik beim W3C]]
- * [[http://gist.github.com/591942#file_schema.rnc|RelaxNG Schema]] + * [[https://gist.github.com/mro/591942#file-schema-rnc|RelaxNG Schema]] 
- * [[http://gist.github.com/591942#file_xml_loader_ragel.rl|Ragel Input]] + * [[https://gist.github.com/mro/591942#file-xmlloaderragel-rl|Ragel Input]] 
- * [[http://gist.github.com/591942#file_xml_loader_ragel.m|Ragel Output (Objective C)]]+ * [[https://gist.github.com/mro/591942#file-xmlloaderragel-m|Ragel Output (Objective C)]]
  * {{:cocoaheads:xmlloaderragel.pdf|Ragel Output (Zustandsautomat PDF)}}  * {{:cocoaheads:xmlloaderragel.pdf|Ragel Output (Zustandsautomat PDF)}}
  
Zeile 93: Zeile 94:
  
 {{ http://zedshaw.com/essays/HubState_small.png }} {{ http://zedshaw.com/essays/HubState_small.png }}
- 
 == Vielen Dank == Vielen Dank
  
-{{ :cocoaheads:cocoaheads-logo.svg}}+{{ :cocoaheads:cocoaheads-logo.svg?200}}
 für Eure Aufmerksamkeit. für Eure Aufmerksamkeit.
  
cocoaheads/ragel.1500584252.txt.gz · Zuletzt geändert: 2017/07/20 22:57 von mro