Are EuBins supposed to be functional builds?

new topic     » topic index » view thread      » older message » newer message

The reason I ask is that I downloaded eubin-2015-10-11-16462e686646+.zip from /eubins/windows/4.1.0/64-bit. euc and eui run okay when lauched without parameters but do nothing when given a script to work through, viz

>type bin.ex 
include std/math.e 
include std/convert.e 
 
function Bin(integer n, sequence s = "") 
  if n > 0 then 
   return Bin(floor(n/2),(mod(n,2) + #30) & s) 
  end if 
  if length(s) = 0 then 
   return to_integer("0") 
  end if 
  return to_integer(s) 
end function 
 
printf(1, "%d\n", Bin(0)) 
printf(1, "%d\n", Bin(5)) 
printf(1, "%d\n", Bin(50)) 
printf(1, "%d\n", Bin(9000)) 
 
>euc 
Euphoria to C Translator v4.1.0 development 
   64-bit Windows, Using System Memory 
   Revision Date: 2015-10-08 00:27:52, Id: 6386:16462e686646 
 
ERROR: Must specify the file to be translated on the command line 
 
 
>eui 
Euphoria Interpreter v4.1.0 development 
   64-bit Windows, Using System Memory 
   Revision Date: 2015-10-08 00:27:52, Id: 6386:16462e686646 
 
ERROR: Must specify the file to be interpreted on the command line 
 
 
>eui bin.ex 
 
>euc -con -gcc bin.ex 
Build directory: build-817666\ 
 

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu