JAL (compiler)

From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search

JAL (Just Another Language) is a Pascal-like programming language and compiler that generates executable code for PIC microcontrollers. It is a free-format language for programming PIC microcontrollers and the compiler runs on Linux, MS-Windows and MS-DOS (no OSX support). JAL is the only free-of-charge advanced language for PICs, and has a large and active international user base. It is configurable and extendable by use of libraries and can even be combined with assembler.



It was originally created by Wouter van Ooijen, but was released as free software under the GNU General Public License in 2003. In 2006, Stef Mientki initiated the development of a brand new JAL version: V2. Kyle York is the programmer of this new version, and an international user group took care of the beta testing.[1]

Sample code

-- JAL 2.3
include 16f877_bert—define the variables
var byte resist—define the pins
pin_a0_direction = input—variable resistor
pin_d7_direction = input—switch
pin_c2_direction = output—pwm led—enable pulse width modulation
PWM_init_frequency (true, true)

forever loop—convert analog on a0 to digital
   resist = ADC_read_low_res(0)

   -- run measurement through flash memory

   -- run measurement through data memory

   -- if the switch is pressed return random value
   if pin_d7 == high then
      resist = random_byte
   end if—send resistance to PC
   -- set actual PWM duty cycle
   PWM_Set_DutyCycle (resist, resist)

end loop


  1. Beta testing by: Bert van Dam, Sunish Isaac, Dave Lagzdin, Javier Martinez, Stef Mientki, Wouter van Ooijen, Michael Reynolds, André Steenveld, Joep Suijs, Vasile Surducan, and Michael Watterson


These are the basic links that will help you get started with JAL. For a selected range of PIC microcontrollers starterpacks are available that will get you up and running in minutes. For other PICs or other functionalities download additional libraries.


User websites

Template:Cleanup-section Browse these websites to get an idea of JAL's possibilities.

fr:JAL (compiler) nl:JAL (compiler) sv:Just another language

Personal tools

Served in 0.325 secs.