2015-03-16 04:16:12 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ScriptTool
|
|
|
|
|
{
|
2015-03-20 21:40:43 +00:00
|
|
|
|
public interface ICompiler
|
2015-03-16 04:16:12 +00:00
|
|
|
|
{
|
2015-03-22 23:55:34 +00:00
|
|
|
|
void ScanString(string str, IDictionary<byte, string> charLookup, bool scanCodesOnly,
|
|
|
|
|
out IList<string> references, out ISet<IControlCode> controlCodes);
|
|
|
|
|
void ScanString(string str, ref int referenceAddress, IDictionary<byte, string> charLookup, bool scanCodesOnly,
|
|
|
|
|
out IList<string> references, out ISet<IControlCode> controlCodes);
|
|
|
|
|
void CompileString(string str, IList<byte> buffer, ref int referenceAddress, IDictionary<byte, string> charLookup);
|
2015-03-16 04:16:12 +00:00
|
|
|
|
}
|
|
|
|
|
}
|