Tag Archives

Archive of posts published in the tag: Python

SQLxD Part 23 — Query parser tests

This is the twenty third part of the SQLxD series. For your convenience you can find other parts in the table of contents in Part 1 – XML Transformation Here go the tests for query parser: using System; using FluentAssertions; using Model; using…

SQLxD Part 22 — Query parser

This is the twenty second part of the SQLxD series. For your convenience you can find other parts in the table of contents in Part 1 – XML Transformation For parsing queries we use IronPython. Let’s begin with C# code for executing PLY…

Yet Another Useless Language Part 2 — Grammar

This is the second part of YAUL series. For your convenience you can find other parts in the table of contents in Part 1 — Introduction Last time we described features of a language we are going to write. Today we are going…

Yet Another Useless Language Part 1 — Introduction

This is the first part of the Yet Another Useless Language series. For your convenience you can find other parts using the links below : Part 1 — Introduction Part 2 — Grammar Part 3 — Variables Part 4 — Compiler Part 5…

Using PLY in C#

In this post I describe how to use Python Lex-Yacc (PLY) in C# with IronPython. Introduction IronPython is a .NET implementation of Python interpreter. It is based on Python 2.7.x and can be executed as separate application or run directly from .NET applications.…