Home

Awesome

Whitespace-lang example

Reference: Whitespace "Hello, World" example

Warning

DO NOT ENABLE FORMATTER IN THIS WORKSPACE.

Run

First, install dependencies:

yarn

Then you can run the example:

yarn start

or

yarn wspace ./hello.ws

hello,ws

console.log("Hello, World!");   
   	  	   
		    	
   		  	 	
		    	 
   		 		  
		    		
   		 		  
		    	  
   		 				
		    	 	
   	 		  
		    		 
   	     
		    			
   	 	 			
		    	   
   		 	  	
		    	  	
   			 	  
		    	 	 
   		  	 	
		    	 		
   			  		
		    		  
   			    
		    		 	
   		    	
		    			 
   		   		
		    				
   		  	 	
		    	    
   	    	
		    	   	
   
		    

 	  	         	  	    	  	    	  	  	         	  	    	  	    	  	  	         	  	    	  	    	  	  	       	         	  	  	       	         	  	    	  	  	         	  	  	       	         	  	  	         	  	    	  	    	  	  	         	  	  	       	       	         	  	    	  	  	       	         	  	  	         	  	

 	  	         	  	    	  	  	         	  	    	  	    	  	  	       	         	  	    	  	  	       	         	  	  	         	  	  	         	  	    	  	    	  	  	         	  	    	  	    	  	  	         	  	    	  	  	         	  	    	  	  	       	       	         	  	    	  	  	         	  	  	       	         	  	  	         	  	    	  	  	         	  	    	  	    	  	  	       	         	  	    	  	  	       	         	  	  	         	  	




    	         	  	    	  	  	       	       	       	         	  	  	         	  	    	  	  	       	         	  	  	       	       	         	  	    	  	  	       	         	  	  	       	     
	   
	

    	         	  	    	  	    	  	  	         	  	    	  	    	  	  	         	  	    	  	    	  	  	       	         	  	  	       	         	  	    	  	  	         	  	  	       	         	  	  	         	  	    	  	    	  	  	         	  	  	       	       	         	  	    	  	  	       	         	  	  	         	  	
 
 			 
 
	   	         	  	    	  	    	  	  	         	  	    	  	    	  	  	         	  	    	  	    	  	  	       	         	  	  	       	         	  	    	  	  	         	  	  	       	         	  	  	         	  	    	  	    	  	  	         	  	  	       	       	         	  	    	  	  	       	         	  	  	         	  	  	         	  	  	         	  	    	  	    	  	    	  	    	  	  	         	  	    	  	  	       	         	  	  	         	  	  	         	  	    	  	  	         	  	    	  	    	  	  	       	         	  	    	  	  	       	         	  	  	       	     
	
     	
	   
 
  	         	  	    	  	    	  	  	         	  	    	  	    	  	  	         	  	    	  	    	  	  	       	         	  	  	       	         	  	    	  	  	         	  	  	       	         	  	  	         	  	    	  	    	  	  	         	  	  	       	       	         	  	    	  	  	       	         	  	  	         	  	

    	         	  	    	  	    	  	  	         	  	    	  	    	  	  	         	  	    	  	    	  	  	       	         	  	  	       	         	  	    	  	  	         	  	  	       	         	  	  	         	  	    	  	    	  	  	         	  	  	       	       	         	  	    	  	  	       	         	  	  	         	  	  	         	  	  	         	  	    	  	    	  	    	  	    	  	  	         	  	    	  	  	       	         	  	  	         	  	  	         	  	    	  	  	         	  	    	  	    	  	  	       	         	  	    	  	  	       	         	  	  	       	     
 

 


	

    	         	  	    	  	    	  	  	       	         	  	  	       	         	  	    	  	  	       	         	  	  	         	  	  	         	  	    	  	  	       	       	       	         	  	  	         	  	    	  	  	       	         	  	  	       	     
 
  
 	
	 			 
    	 	 
	  	
	   	         	  	    	  	    	  	  	       	         	  	  	       	         	  	    	  	  	       	         	  	  	         	  	  	         	  	    	  	  	       	       	       	         	  	  	         	  	    	  	  	       	         	  	  	       	       	         	  	  	         	  	    	  	    	  	    	  	    	  	  	         	  	    	  	  	       	         	  	  	         	  	  	         	  	    	  	  	         	  	    	  	    	  	  	       	         	  	    	  	  	       	         	  	  	       	     
 

   	
	   
 
  	         	  	    	  	    	  	  	       	         	  	  	       	         	  	    	  	  	       	         	  	  	         	  	  	         	  	    	  	  	       	       	       	         	  	  	         	  	    	  	  	       	         	  	  	       	     

    	         	  	    	  	    	  	  	       	         	  	  	       	         	  	    	  	  	       	         	  	  	         	  	  	         	  	    	  	  	       	       	       	         	  	  	         	  	    	  	  	       	         	  	  	       	       	         	  	  	         	  	    	  	    	  	    	  	    	  	  	         	  	    	  	  	       	         	  	  	         	  	  	         	  	    	  	  	         	  	    	  	    	  	  	       	         	  	    	  	  	       	         	  	  	       	     
 

   	
	      
		 
	

    	         	  	    	  	  	         	  	    	  	    	  	  	       	         	  	    	  	  	       	         	  	  	         	  	  	         	  	    	  	    	  	  	         	  	    	  	    	  	  	         	  	    	  	  	         	  	    	  	  	       	       	         	  	    	  	  	         	  	  	       	         	  	  	         	  	    	  	  	         	  	    	  	    	  	  	       	         	  	    	  	  	       	         	  	  	         	  	
   	 	 
   		 	
	
  	
  
	

What do you see in the output when you run it?

Unreadable?

Use ws2unws

yarn ws2unws ./hello.ws