Re: Announcing Interactive JScript

  • From: "tribble" <lauraeaves@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Fri, 8 Feb 2008 10:18:06 -0500

Given that some of it is geared for accessible web development, I wonder if 
advertising this to the sighted webbing community might also attract some 
interest, which could only improve the web for blind users.
--le

----- Original Message ----- 
From: "Jamal Mazrui" <empower@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Friday, February 08, 2008 5:51 AM
Subject: Re: Announcing Interactive JScript


Learning either standard JavaScript syntax (without a browser host,
however) or JScript .NET, learning the objects, methods, and properties
available in the .NET Framework, developing code snippets that can be
invoked in EdSharp, testing expressions for inclusion in ASP.NET pages,
trying JScript code that uses the Windows Script Host.  You can think of
the program as like the interactive Python or Ruby environments, except
the syntax is JScript, the Framework class library is available, and there
are commands intended to make the environment even more productive for
screen reader users.

Jamal
On Fri, 8 Feb
2008, Octavian Rasnita wrote:

> Date: Fri, 8 Feb 2008 09:30:37 +0200
> From: Octavian Rasnita <orasnita@xxxxxxxxx>
> Reply-To: programmingblind@xxxxxxxxxxxxx
> To: programmingblind@xxxxxxxxxxxxx
> Subject: Re: Announcing Interactive JScript
>
> What can it be useful for?
> Sorry but I didn't understand what can it be used for.
>
> Octavian
>
> ----- Original Message -----
> From: "tribble" <lauraeaves@xxxxxxxxx>
> To: <programmingblind@xxxxxxxxxxxxx>
> Sent: Thursday, February 07, 2008 7:04 PM
> Subject: Re: Announcing Interactive JScript
>
>
> > Cool -- sounds quite useful -- great job
> >
> > ----- Original Message -----
> > From: "Jamal Mazrui" <empower@xxxxxxxxx>
> > To: <programmingblind@xxxxxxxxxxxxx>; <program-l@xxxxxxxxxxxxx>;
> > <guispeak@xxxxxxxxxxxxx>
> > Sent: Thursday, February 07, 2008 7:13 AM
> > Subject: Announcing Interactive JScript
> >
> >
> > Now available at
> > http://www.EmpowermentZone.com/ijs.zip
> >
> > Interactive JScript
> > Version 1.0
> > February 7, 2008
> > Copyright 2008 by Jamal Mazrui
> > Modified GPL License
> >
> > I have wanted to build a JScript .NET interpreter.  I recently found an
> > article with code by Andrew Norris that got me started:
> >
> > "A Simple JavaScript Command Line Interpreter for Windows in 
> > JScript.Net"
> > http://listeningtoreason.blogspot.com/
> > The original code has now been rewritten and extended considerably.
> >
> > Interactive JScript (IJS) is a console mode environment that can
> > dynamically execute code in the JScript .NET language.  The source code 
> > is
> > in a single file, ijs.js.  a batch file, build.bat, calls the JScript
> > compiler, jsc.exe, which is distributed with the .NET Framework.  The
> > resulting executable, ijs.exe, is about 40K in size.  It may be run from
> > any directory on a computer that has the .NET Framework 2.0 (or above)
> > installed.
> >
> > IJS may be used to run or test code in either standard JavaScript or the
> > enhanced Microsoft JScript 8.0, which also serves as the script language
> > for web development with ASP.NET.  The home page of the language is at
> > http://msdn2.microsoft.com/en-us/library/72bd815a(VS.80).aspx
> >
> >  For example, a .js file can define a sophisticated snippet that may be
> > invoked with the Alt+V command of the EdSharp editor, available at
> > http://www.EmpowermentZone.com/edsetup.exe
> >
> > JScript code can also be evaluated by IronCOM, a COM server that 
> > provides
> > traditional Win32 applications with access to functionality of the .NET
> > Framework, available at
> > http://www.EmpowermentZone.com/comsetup.exe
> >
> > The HomerKit library for JAWS
> > http://www.EmpowermentZone.com/kitsetup.exe
> > includes a function called JSEval that wraps a JScript call via IronCOM,
> > thereby enabling JAWS scripts to make .NET calls for functionality not
> > available in the native scripting language.
> >
> > IJS may also be helpful for programming in .NET languages other than
> > JScript.  Built in commands are defined for inquiring about available
> > methods, properties, and events via reflection.  You can explore an 
> > object
> > model, test expressions, save working code, and then convert it to the
> > syntax of another .NET language.
> >
> > Reflecting on a COM object requires that a DLL be registered on the
> > computer, described in the article
> > "Inspect COM Components Using the TypeLib Information Object"
> > http://msdn.microsoft.com/msdnmag/issues/1200/TypeLib/
> >
> > Registering this DLL (included in the archive) may be done at a command
> > prompt as follows:
> > RegSvr32 TlbInf32.dll
> > Installing EdSharp does this automatically, and makes IJS conveniently
> > available with the Go to Environment command, Control+Shift+G.
> >
> > IJS works well with a screen reader, since new output to the console is
> > automatically read.  Periodically, the cls command is useful for 
> > clearing
> > the screen and eliminating extra verbiage.  IJS may also be used as a
> > simple, speech-friendly calculator, since most algebraic, trigonometric,
> > and date calculations may be done with JScript.
> >
> > Below is the online documentation, available by entering the help 
> > command
> > in Interactive JScript.  Questions, comments, or code contributions are
> > welcome.
> >
> > Jamal
> >
> > Type a JScript statement, followed by Enter
> > (a closing semicolon is not needed).
> > Use UpArrow to repeat a command.
> > End a line of input with a space and underline ( _) to continue
> > a multiline block of code.
> > The prompt then changes from a > to _ character.
> >
> > Most classes of the .NET Framework 2.0 may be used in expressions.
> > Variable types are inferred.
> > To ease typing, the following namespaces are imported
> > (there classes may be referenced without a namespace prefix):
> > Microsoft.VisualBasic
> > System
> > System.Collections
> > System.Data
> > System.Diagnostics
> > System.IO
> > System.Reflection
> > System.Text
> > System.Windows.Forms
> >
> > In addition, the following built-in commands are available:
> > quit = end this program
> > cls = clear the screen
> > eval FileName = execute a JScript file
> > eval clipboard = execute JScript code on the clipboard
> > cmd = pass any statement to the Windows command interpreter (cmd.exe)
> > dos = execute a console-mode command and display its output
> > log FileName = log output to a file
> > log off = suspend logging
> > log on = continue logging
> > net Object = list members of a .NET object
> > constructors Object = list its constructors only
> > events Object = list its events only
> > fields Object = list its fields only
> > methods Object = list its methods only
> > properties Object = list its properties only
> > com Object = list members of a COM object
> > dir Object = directory of members of either a .NET or COM object
> >
> > __________
> > View the list's information and change your settings at
> > //www.freelists.org/list/programmingblind
> >
> >
> > __________
> > View the list's information and change your settings at
> > //www.freelists.org/list/programmingblind
> >
>
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>
__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: