This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Main where | |
import Prelude | |
import Control.Applicative | |
import Data.Maybe | |
import Control.Monad | |
import Control.Arrow | |
import Data.Map as M | |
import Data.List as L | |
ellie = "Ellie" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE MultiParamTypeClasses #-} | |
module Main where | |
import Prelude | |
import Control.Applicative | |
import Data.Maybe | |
import Control.Monad | |
import Control.Arrow | |
data Girl = Ellie | Emily | Jessica | |
deriving (Show, Eq, Enum, Bounded) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Gherkin.Lexer | |
{ | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.IO; | |
using System.Collections.Generic; | |
public class En : ILexer { | |
%%{ | |
machine lexer; |