mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Add interpreters for APL and J (#3029)
* Add APL interpreters * Add J interpreter * Add test fixtures for APL/J interpreters
This commit is contained in:
		
				
					committed by
					
						 Arfon Smith
						Arfon Smith
					
				
			
			
				
	
			
			
			
						parent
						
							4eb33fe3be
						
					
				
				
					commit
					897218678e
				
			| @@ -75,6 +75,10 @@ APL: | |||||||
|   extensions: |   extensions: | ||||||
|   - .apl |   - .apl | ||||||
|   - .dyalog |   - .dyalog | ||||||
|  |   interpreters: | ||||||
|  |   - apl | ||||||
|  |   - aplx | ||||||
|  |   - dyalog | ||||||
|   tm_scope: source.apl |   tm_scope: source.apl | ||||||
|   ace_mode: text |   ace_mode: text | ||||||
|  |  | ||||||
| @@ -1666,6 +1670,8 @@ J: | |||||||
|   color: "#9EEDFF" |   color: "#9EEDFF" | ||||||
|   extensions: |   extensions: | ||||||
|   - .ijs |   - .ijs | ||||||
|  |   interpreters: | ||||||
|  |   - jconsole | ||||||
|   tm_scope: source.j |   tm_scope: source.j | ||||||
|   ace_mode: text |   ace_mode: text | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										7
									
								
								samples/APL/hashbang
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								samples/APL/hashbang
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,7 @@ | |||||||
|  | #!/usr/local/bin/apl --script | ||||||
|  | NEWLINE ← ⎕UCS 10 | ||||||
|  | HEADERS ← 'Content-Type: text/plain', NEWLINE | ||||||
|  | HEADERS | ||||||
|  | ⍝ ⎕←HEADERS | ||||||
|  | ⍝ ⍕⎕TS | ||||||
|  | )OFF | ||||||
							
								
								
									
										3
									
								
								samples/J/hashbang
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										3
									
								
								samples/J/hashbang
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | #!/bin/jconsole | ||||||
|  | echo 'Hello, GitHub!' | ||||||
|  | exit '' | ||||||
		Reference in New Issue
	
	Block a user