mirror of
				https://github.com/pocketpy/pocketpy
				synced 2025-10-30 16:30:16 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			273 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			273 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ---
 | |
| title: REPL
 | |
| icon: dot
 | |
| order: 8
 | |
| ---
 | |
| #### `REPL* pkpy_new_repl(VM* vm)`
 | |
| 
 | |
| Create a REPL, using the given virtual machine as the backend.
 | |
| 
 | |
| #### `bool pkpy_repl_input(REPL* r, const char* line)`
 | |
| 
 | |
| Input a source line to an interactive console. Return true if need more lines. |