Update grammar, expand CRC32 function #2

Merged
dominic merged 4 commits from grammar into master 2026-04-25 10:26:06 +00:00
Showing only changes of commit af4239e198 - Show all commits

View File

@ -12,10 +12,20 @@ namespace XNeedle.Transformation
{
public class ContextFunctions
{
public static string hex(Context ctx, double value)
public static string hexlit(Context ctx, double value)
{
uint v = (uint)value;
return $"#x{v:X8}";
return $"#x{v:x8}";
}
public static string lower(Context ctx, string text)
{
return text.ToLower();
}
public static string upper(Context ctx, string text)
{
return text.ToUpper();
}
public static double GetLevel(Context ctx)