From bf67a610135c0803187cf6ed896638962f142d14 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 18 Jul 2018 17:55:29 -0700 Subject: Updating to version 2.4.4.3, with new syntax for multi-statement 'if' and switch statements. --- lib/training_wheels.nom | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/training_wheels.nom') diff --git a/lib/training_wheels.nom b/lib/training_wheels.nom index 4c0b166..2845768 100644 --- a/lib/training_wheels.nom +++ b/lib/training_wheels.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V2.3.4.3 +#!/usr/bin/env nomsu -V2.4.4.3 # This file contains a set of definitions that bring some familiar language features from other languages into nomsu (e.g. "==" and "continue") @@ -11,7 +11,7 @@ parse [%a === %b] as ((%a 's id) is (%b 's id)) parse [%a !== %b] as ((%a 's id) is not (%b 's id)) parse [%a mod %b] as (%a wrapped around %b) parse [function %names %body, def %names %body] as (action %names %body) -parse [switch %branch_value %body] as (when %branch_value = ? %body) +parse [switch %branch_value %body] as (if %branch_value is: %body) parse [None, Null] as (nil) parse [True, true] as (yes) parse [False, false] as (no) -- cgit v1.2.3