home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 263,027 of 264,096   
   =?UTF-8?Q?Arne_Vajh=C3=B8j?= to All   
   Re: extending MySQL on VMS   
   18 Aug 25 20:47:08   
   
   From: arne@vajhoej.dk   
      
   On 8/18/2025 8:18 PM, Arne Vajhøj wrote:   
   > PS: Yes - both Scala 2.13 and 3.3 runs fine on VMS. For 3.3 source files   
   >      must be rfm:stmlf.   
      
   And the Scala 3.x how to:   
      
   $ typ scala.com   
   $ p1 = f$edit(p1, "UPCASE")   
   $ clz = ""   
   $ if p1 .eqs. "COMPILE" then clz = "dotty.tools.MainGenericCompiler"   
   $ if p1 .eqs. "RUNNER" then clz = "dotty.tools.MainGenericRunner"   
   $ if p1 .eqs. "DOC" then clz = "dotty.tools.scaladoc.Main"   
   $ parent = "/disk0/net/scala3"   
   $ ver = "3.3.0"   
   $ scalahome = "''parent'/scala3-''ver'"   
   $ xmx = "''scala_xmx'"   
   $ if xmx .eqs. "" then xmx = "256m"   
   $ cp = "''scala_cp'"   
   $ if cp .nes. "" then cp = ":" + cp   
   $ java -   
   "-Xmx''xmx'" -   
   "-Dscala.home=''scalahome'" -   
   "-Dscala.usejavacp=true" -   
   -cp "''scalahome'/lib/*''cp'" -   
   "''clz'" -   
   'p2' 'p3' 'p4' 'p5' 'p6' 'p7' 'p8'   
   $ if p1 .eqs. "COMPILE" .and. f$env("depth") .le. 1 then write   
   sys$output "Run with java -cp .:''cp'''scalahome'/lib/*''cp' "   
   $ exit   
   $ type scaladef.com   
   $ proc = f$env("procedure")   
   $ defdir = f$parse(proc,,,"device") + f$parse(proc,,,"directory")   
   $ scala3c :== @'defdir'scala.com compile   
   $ scala3 :== @'defdir'scala.com runner   
   $ scala3doc :== @'defdir'scala.com doc   
   $ exit   
      
   Arne   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca