1. Convergence in Programming Languages
- Posted by SDPringle Mar 07, 2009
- 947 views
I'm sorry. See below
type enum with strings colors C_RED, C_YELLOW, C_BLUE, C_GREEN, C_BLACK, C_WHITE -- builtin function get_to_string_routine( sequence type_name ) color_names = get_to_string_routine( "colors" ) -- This outputs C_BLUE printf( 1, call_func( color_names, C_BLUE ) ) function big_function( sequence s, sequence t ) -- big routine function little_macro() s+=1 t=1 continue -- do we want this kind of thing?? end function . . while condition1 do if condition2 then j = little_macro() end if . . end function
What do you think of this syntax?
Shawn Pringle