Kontextfreie Sprache In der Theoretischen Informatik ist eine kontextfreie Sprache (englisch context-free language, CFL) eine formale Sprache, die durch eine kontextfreie Grammatik beschrieben werden kann. Eine kontextfreie Grammatik erlaubt einen definierten Leseprozess (Interpretation) von Ausdrücken einer formalen Sprache. Dabei kann zum einen entschieden werden, ob ein Ausdruck den Regeln der Grammatik entspricht, und zum anderen im Verlauf der Analyse ein Syntaxbaum erstellt werden. Ein Programm, das dies leistet, heißt Parser. Parser werden insbesondere zur Verarbeitung von Programmiersprachen verwendet. Kontextfreie Sprachen werden auch als Typ-2-Sprachen der Chomsky-Hierarchie bezeichnet. Man spricht deshalb von kontextfreien Sprachen, weil die Regeln der kontextfreien Grammatiken immer vom Kontext unabhängig angewendet werden. Charakterisierung[Bearbeiten] Beispiele[Bearbeiten] Besteht ein Alphabet aus den Symbolen und , sind folgende Sprachen Beispiele für kontextfreie Sprachen: Die Sprache s wie s. mit
Generative Art Links Some links to Generative Art, Math & Fractals, and other creative ways of creating computional imagery. The list is not meant to be exhaustive: rather, it is a list of my favorite links. Generative Art Software General-Purpose Software Processing is probably the most used platform for Generative Art. It is an “open source programming language and integrated development environment (IDE) built for the electronic arts and visual design communities”. Nodebox – A Python based alternative to Processing. vvvv is “a toolkit for real time video synthesis”. PureData a “real-time graphical dataflow programming environment for audio, video, and graphical processing.” Specific Systems Context Free Art – uses Context Free Design Grammars to generate 2D images. Structure Synth – my own attempt to extend Context Free Art into three dimensions. TopMod3D – “is a free, open source, portable, platform independent topological mesh modeling system that allows users to create high genus 2-manifold meshes”. Ready.
Structure Synth Pijama Surf - Noticias e informaci?n alternativa Pycairo Pycairo is a set of Python bindings for the cairo graphics library. The latest releases are: py2cairo-1.10.0 for python 2.x (>=2.6) 2011/05/01 pycairo-1.10.0 for python 3.x (>=3.1) 2011/04/18 The development versions may be checked out from git using the following commands: git clone git clone pycairo for python 2.x pycairo for python 3.x Pycairo is free software. py2cairo is available to be redistributed and/or modified under the terms of either the GNU Lesser General Public License (LGPL) version 2.1 or the Mozilla Public License (MPL) version 1.1. pycairo is licensed under the GNU Lesser General Public License (LGPL) version 3. Mailing list: cairo mailing lists Bugzilla: List open bugs | Report a bug pycairo resources.
Context-free grammar V → w where V is a single nonterminal symbol, and w is a string of terminals and/or nonterminals (w can be empty). A formal grammar is considered "context free" when its production rules can be applied regardless of the context of a nonterminal. No matter which symbols surround it, the single nonterminal on the left hand side can always be replaced by the right hand side. Context-free grammars arise in linguistics where they are used to describe the structure of sentences and words in natural language, and they were in fact invented by the Linguist Noam Chomsky for this purpose, but have not really lived up to their original expectation. In linguistics, some authors use the term phrase structure grammar to refer to context-free grammars, whereby phrase structure grammars are distinct from dependency grammars. Background John, whose blue car was in the garage, walked to the grocery store. can be logically parenthesized as follows: Formal definitions where A production rule in and .
Fractal Zoomer - Explore the Mandelbrot fractal Code & form » Computational aesthetics ntent & usability: Web writing Web writing is totally different to writing for printed matter. We tend to scan content on the web hunting for the information we're after, as opposed to reading word-for-word. As a result of this, there are certain guidelines you should be sure to follow when writing copy for your website: 1. Use clear and simple language Reading from computer screens is tiring for the eyes and about 25% slower than reading from printed matter. Some techniques for using clear and simple language include: Avoid slang or jargon - Get your grandmother and ten year old nephew to read your site - if both can understand the page content you've done well! 2. If you assign just one idea to each paragraph site visitors can: Easily scan through each paragraph Get the general gist of what the paragraph is about Then move on to the next paragraph All this and without fear that they'll be skipping over important information, because they will already know roughly what the paragraph is about. 3. 4. 5. 6. 7. 8. Conclusion
pySVG - creating svg with python by codeboje.de pySVG - creating svg with python pySVG is a pure Python library to create SVG documents. Essentially it is a python wrapper around svg with the goal to allow people to "program svg". pySVG can be used to produce svg as an outcome of algorithms you implement (like koch curves, Lindenmayr systems etc.) Working with pySVG is pretty straightforward. Current status: Pretty much all elements should be implemented. Features Shapes (circle, ellipses, rectangles, lines, polygons, polylines,paths)Text Containers (g-element, defs)Style attributes (stroke, filling, font)Transform (in groups)FiltersLoad/Store SVG files License & Donation BSD - Style: Copyright (c) 2008-2012, Kerim Mansour All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Downloads Acknowledgements On request
Context-free language In formal language theory, a context-free language (CFL) is a language generated by some context-free grammar (CFG). Different CF grammars can generate the same CF language, or conversely, a given CF language can be generated by different CF grammars. It is important to distinguish properties of the language (intrinsic properties) from properties of a particular grammar (extrinsic properties). The set of all context-free languages is identical to the set of languages accepted by pushdown automata, which makes these languages amenable to parsing. Indeed, given a CFG, there is a direct way to produce a pushdown automaton for the grammar (and corresponding language), though going the other way (producing a grammar given an automaton) is not as direct. Context-free languages have many applications in programming languages; for example, the language of all properly matched parentheses is generated by the grammar . Examples An archetypical context-free language is 's. where with . The set and
HTML5-Powered Web Applications: 19 Early Adopters | Box Of Tips (BOT) Computing community HTML5, rumored as Flash killer, is a brand new web technology that raises a revolution lead by Apple in web application development. It contains canvas element for images and animation drawings, support video and audio embedding, and includes storage database for offline web applications. Most important of all, you don’t need a plugin to get all these features, your latest browser supports that. Flash killer Sounds pretty cool, but what HTML5 can do actually? 19 HTML5-Powered Web App Muro is HTML5-based sketching app that works in all modern browsers, and you can dive in and start drawing on a blank canvas, all without Flash or any other plugin. DeviantART Muro HTML5-based social media dashboard with some great features: geo-location tweet searching, choice between new and old style retweets, connection to Google Analytics, drag and drop editing, custom interface and much more. HootSuite Something cool and interesting for kids of all sizes. X-Worlds Image Editor CSSWarp Flickr Browser Maker
GuruBlog GuruBlog local-guru.net Processing Sketches Links Search Twitter Follow me on Twitter Book Music Tags 3daddonadventanimationanimation nodesarduinoartbitwigblendercalendarCreativitycurvecyclesdrawingfacefluidforcefieldfreestylemakerbotmarkermaterialmodifiermonstermusicnproscparticlesphotophysicsprocessingprocessing.jspythonradioraspberrypirobotrubysimulationsynthtexturevolca