[SOLVED] CS计算机代考程序代写 (* IMPORTANT: YOU MAY NOT MODIFY THIS FILE!

30 $

File Name: CS计算机代考程序代写_(*_IMPORTANT:_YOU_MAY_NOT_MODIFY_THIS_FILE!.zip
File Size: 687.66 KB

SKU: 1401280306 Category: Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Or Upload Your Assignment Here:


(* IMPORTANT: YOU MAY NOT MODIFY THIS FILE!
* OUR TESTS USE THE ORIGINAL VERSION.
* YOUR CODE WILL NOT COMPILE IF YOU CHANGE THIS FILE. *)

(* This is the type used to describe the form of a regexp *)

type regexp_t =
| Empty_String
| Char of char
| Union of regexp_t * regexp_t
| Concat of regexp_t * regexp_t
| Star of regexp_t

(* These are the regexp functions you must implement *)

val regexp_to_nfa : regexp_t -> (int, char) Nfa.nfa_t

val string_to_regexp : string -> regexp_t

val string_to_nfa : string -> (int, char) Nfa.nfa_t

exception IllegalExpression of string

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS计算机代考程序代写 (* IMPORTANT: YOU MAY NOT MODIFY THIS FILE!
30 $